Typedef robot_interaction::InteractionHandlerCallbackFn
Defined in File interaction_handler.h
Typedef Documentation
-
typedef std::function<void(InteractionHandler*, bool)> robot_interaction::InteractionHandlerCallbackFn
Function type for notifying client of RobotState changes.
This callback function is called by the InteractionHandler::handle* functions, when changes are made to the internal robot state the handler maintains. The handler passes its own pointer as argument to the callback, as well as a boolean flag that indicates whether the error state changed — whether updates to the robot state performed in the InteractionHandler::handle* functions have switched from failing to succeeding or the other way around.