ETL
0.04.19
|
Event definition class. More...
#include <_smach.h>
Public Types | |
typedef T | state_context_type |
typedef event_result(T::* | funcptr )(const event &) |
Event function type. |
Public Member Functions | |
bool | operator< (const event_def_internal &rhs) const |
Less-than operator for sorting. Based on event_key value. | |
bool | operator== (const event_def_internal &rhs) const |
Equal-to operator. Based on event_key value. | |
bool | operator< (const event_key &rhs) const |
Less-than operator for finding. | |
bool | operator== (const event_key &rhs) const |
Equal-to operator. Based on event_key value. | |
event_def_internal () | |
Trivial Constructor. | |
event_def_internal (event_key a, funcptr b) | |
Constructor for creating an event_def_internal from the given key and function reference. | |
event_def_internal (const event_def_internal &x) | |
Copy constructor. |
Public Attributes | |
event_key | id |
funcptr | handler |
Friends | |
class | smach |
Event definition class.
typedef T smach< CON, K, M >::event_def_internal< T >::state_context_type |
typedef event_result(T::* smach< CON, K, M >::event_def_internal< T >::funcptr)(const event &) |
|
inline |
|
inline |
Constructor for creating an event_def_internal from the given key and function reference.
|
inline |
|
inline |
Less-than operator for sorting. Based on event_key value.
Definition at line 122 of file _smach.h.
References smach< CON, K, M >::event_def_internal< T >::id.
|
inline |
Equal-to operator. Based on event_key value.
Definition at line 126 of file _smach.h.
References smach< CON, K, M >::event_def_internal< T >::id.
|
inline |
|
inline |
|
friend |
event_key smach< CON, K, M >::event_def_internal< T >::id |
Definition at line 116 of file _smach.h.
Referenced by smach< CON, K, M >::state< T >::insert(), smach< CON, K, M >::event_def_internal< T >::operator<(), and smach< CON, K, M >::event_def_internal< T >::operator==().
funcptr smach< CON, K, M >::event_def_internal< T >::handler |