Class event_data

Class Documentation

class event_data

Base class for all data that will be passed to state machine states upon execution of their callback functions. Custom application event data classes must derive from here, or things will not compile.

Public Functions

inline explicit event_data(int signal, int type = event_type::ekNORMAL)
event_data(void) = default
virtual ~event_data(void) = default
inline void reset(void)

Reset the event data type and signal to nominal/normal values.

inline void signal(int signal)
inline int signal(void) const
inline void type(int type)
inline int type(void) const