6 if ( _state_machine_ptr == NULL ) {
7 throw Exception(
"Cannot access events in a state before the is added to a state machine.");
9 _state_machine_ptr->emit(e);
Events that can be emitted, watched, and responded to with event handlers.
An exception class for Elma.
void emit(const Event &e)