#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 &rhs) const |
Less-than operator for sorting. Based on event_key value. | |
bool | operator== (const event_def &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 () | |
Trivial Constructor. | |
event_def (event_key a, funcptr b) | |
Constructor for creating an event_def from the given key and function reference. | |
event_def (const event_def &x) | |
Copy constructor. | |
Public Attributes | |
event_key | id |
funcptr | handler |
Friends | |
class | smach |
Definition at line 101 of file _smach.h.
typedef T smach< CON, K, M >::event_def< T >::state_context_type |
typedef event_result(T::*) smach< CON, K, M >::event_def< T >::funcptr(const event &) |
bool smach< CON, K, M >::event_def< T >::operator< | ( | const event_def< T > & | rhs | ) | const [inline] |
Less-than operator for sorting. Based on event_key value.
Definition at line 121 of file _smach.h.
References smach< CON, K, M >::event_def< T >::id.
bool smach< CON, K, M >::event_def< T >::operator== | ( | const event_def< T > & | rhs | ) | const [inline] |
Equal-to operator. Based on event_key value.
Definition at line 125 of file _smach.h.
References smach< CON, K, M >::event_def< T >::id.
friend class smach [friend] |
event_key smach< CON, K, M >::event_def< T >::id |
Definition at line 115 of file _smach.h.
Referenced by smach< CON, K, M >::state< T >::insert(), smach< CON, K, M >::event_def< T >::operator<(), and smach< CON, K, M >::event_def< T >::operator==().