|
Open Model Railroad Network (OpenMRN)
|
Internal information we store about each registered handler: identifier, mask, handler pointer. More...
Public Member Functions | |
| bool | Equals (ID id, ID mask, UntypedHandler *handler) |
| Equality comparison function on the handlers. | |
Public Attributes | |
| ID | id |
| Bits that this handler is registered for. | |
| ID | mask |
| Mask that should be applied for the bits check. | |
| UntypedHandler * | handler |
| Handler to call. NULL if the handler has been removed. | |
Internal information we store about each registered handler: identifier, mask, handler pointer.
Definition at line 158 of file Dispatcher.hxx.
|
inline |
Definition at line 160 of file Dispatcher.hxx.
|
inline |
Equality comparison function on the handlers.
Used for remove() calls.
| id | desired id to unregister |
| mask | desired mask to unregister |
| handler | desired handler to unregister |
Definition at line 177 of file Dispatcher.hxx.
| UntypedHandler* DispatchFlowBase< NUM_PRIO >::HandlerInfo::handler |
Handler to call. NULL if the handler has been removed.
Definition at line 166 of file Dispatcher.hxx.
| ID DispatchFlowBase< NUM_PRIO >::HandlerInfo::id |
Bits that this handler is registered for.
Definition at line 163 of file Dispatcher.hxx.
| ID DispatchFlowBase< NUM_PRIO >::HandlerInfo::mask |
Mask that should be applied for the bits check.
Definition at line 164 of file Dispatcher.hxx.