- typedef boost::function<void(void)> Callback; ///< Callback typedef
-
- /**
- * Determines the priority of the call back
- */
- enum Priority
- {
- IDLE_PRIORITY, ///< idle priority
- DEFAULT_PRIORITY, ///< priority of the callback will be the same as input handlers and timer callbacks.
- };
-
- /**
- * Controls whether an event once processed by the handler is passed on to other
- * handlers, or not.
- */
- enum EventControl
- {
- CALLBACK_PASS_ON, ///< Pass the event on to any other handlers registered for this event
- CALLBACK_DONE, ///< Don't pass the event to any other handlers
- };
-