Wiselib
|
Inherits concepts::BasicReturnValues_concept.
Inherited by concepts::NodeDistanceEstimation_concept, concepts::Odometer_concept, and concepts::Position_concept.
Public Types | |
enum | State { READY, NO_VALUE, INACTIVE, DATA_AVAILABLE } |
enum | { SUCCESS, ERR_UNSPEC, ERR_NOMEM, ERR_BUSY, ERR_NOTIMPL, ERR_NETDOWN, ERR_HOSTUNREACH } |
enum | StateValues { READY, NO_VALUE, INACTIVE } |
Public Member Functions | |
template<typename T , void(T::*)(int) TMethod> | |
int | register_state_callback (T *obj) |
Register state changed callback function - method signature must be void RCV_METHOD_NAME(int state). | |
int | unregister_state_callback (int) |
Unregister state-changed callback. |
anonymous enum [inherited] |
Reimplemented in concepts::NodeDistanceEstimation_concept, and concepts::Position_concept.
enum concepts::BasicReturnValues_concept::StateValues [inherited] |
int concepts::StateCallback_concept::register_state_callback | ( | T * | obj | ) |
Register state changed callback function - method signature must be void RCV_METHOD_NAME(int state).
Returns callback-identifier or -1 in order to signal an error.
Reimplemented in concepts::NodeDistanceEstimation_concept, and concepts::Position_concept.
int concepts::StateCallback_concept::unregister_state_callback | ( | int | ) |
Unregister state-changed callback.