|
|
Dispatches gaze target lifecycle updates to registered callbacks. More...
#include <armarx/view_selection/client/services/SimpleStatusHandler.h>
Inheritance diagram for SimpleStatusHandler:Public Member Functions | |
| void | handleStatus (const gaze_targets::GazeTargetStatus &status) |
| Logs the update and hands it to the matching callbacks. | |
| void | onAborted (const Callback &callback) override |
| void | onAny (const Callback &callback) override |
| Called for every update, whatever its status. | |
| void | onPreempted (const Callback &callback) override |
| void | onReached (const Callback &callback) override |
| void | onReleased (const Callback &callback) override |
| void | onRequested (const Callback &callback) override |
| void | onScheduled (const Callback &callback) override |
Public Member Functions inherited from StatusHandlerInterface | |
| virtual | ~StatusHandlerInterface ()=default |
Additional Inherited Members | |
Public Types inherited from StatusHandlerInterface | |
| using | Callback = std::function<void(const gaze_targets::GazeTargetStatus&)> |
Dispatches gaze target lifecycle updates to registered callbacks.
Base of both delivery modes (MemorySubscriber, MemoryPolling), so instrumentation and dispatch exist once regardless of how the updates were obtained.
Definition at line 17 of file SimpleStatusHandler.h.
| void handleStatus | ( | const gaze_targets::GazeTargetStatus & | status | ) |
Logs the update and hands it to the matching callbacks.
Definition at line 65 of file SimpleStatusHandler.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements StatusHandlerInterface.
Definition at line 51 of file SimpleStatusHandler.cpp.
|
overridevirtual |
Called for every update, whatever its status.
Implements StatusHandlerInterface.
Definition at line 58 of file SimpleStatusHandler.cpp.
|
overridevirtual |
Implements StatusHandlerInterface.
Definition at line 37 of file SimpleStatusHandler.cpp.
|
overridevirtual |
Implements StatusHandlerInterface.
Definition at line 30 of file SimpleStatusHandler.cpp.
|
overridevirtual |
Implements StatusHandlerInterface.
Definition at line 44 of file SimpleStatusHandler.cpp.
|
overridevirtual |
Implements StatusHandlerInterface.
Definition at line 16 of file SimpleStatusHandler.cpp.
|
overridevirtual |
Implements StatusHandlerInterface.
Definition at line 23 of file SimpleStatusHandler.cpp.
| std::vector<Callback> aborted |
Definition at line 41 of file SimpleStatusHandler.h.
| std::vector<Callback> any |
Definition at line 42 of file SimpleStatusHandler.h.
| std::vector<Callback> preempted |
Definition at line 39 of file SimpleStatusHandler.h.
| std::vector<Callback> reached |
Definition at line 38 of file SimpleStatusHandler.h.
| std::vector<Callback> released |
Definition at line 40 of file SimpleStatusHandler.h.
| std::vector<Callback> requested |
Definition at line 36 of file SimpleStatusHandler.h.
| std::vector<Callback> scheduled |
Definition at line 37 of file SimpleStatusHandler.h.