|
|
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.
| void handleStatus | ( | const gaze_targets::GazeTargetStatus & | status | ) |
Logs the update and hands it to the matching callbacks.
|
overridevirtual |
Implements StatusHandlerInterface.
|
overridevirtual |
Called for every update, whatever its status.
Implements StatusHandlerInterface.
|
overridevirtual |
Implements StatusHandlerInterface.
|
overridevirtual |
Implements StatusHandlerInterface.
|
overridevirtual |
Implements StatusHandlerInterface.
|
overridevirtual |
Implements StatusHandlerInterface.
|
overridevirtual |
Implements StatusHandlerInterface.
| std::vector<Callback> aborted |
| std::vector<Callback> any |
| std::vector<Callback> preempted |
| std::vector<Callback> reached |
| std::vector<Callback> released |
| std::vector<Callback> requested |
| std::vector<Callback> scheduled |