MemoryStatusHandlerBase.h
Go to the documentation of this file.
1#pragma once
2
3#include <mutex>
4
6
8
10{
11
12 /**
13 * @brief Turns a queried piece of the GazeTargetStatus core segment into dispatched updates.
14 *
15 * Shared by both delivery modes so the conversion, the ordering and the dispatch exist once,
16 * and a subscription and a poll deliver exactly the same thing to a client.
17 */
19 {
20 protected:
21 /// Dispatches every GazeTargetStatus instance found, oldest first.
23
24 private:
25 /// Updates are handled one at a time, in order.
26 std::mutex statusHandlingMutex;
27 };
28
29} // namespace armarx::view_selection::client
Client-side working memory.
Turns a queried piece of the GazeTargetStatus core segment into dispatched updates.
void handleMemory(const armem::wm::Memory &memory)
Dispatches every GazeTargetStatus instance found, oldest first.
Dispatches gaze target lifecycle updates to registered callbacks.