Elma
An event loop manager for embedded systems
|
The state in which the oven's door is closed and the oven is on. See examples/microwave.cc. More...
Public Member Functions | |
DoorClosedOn () | |
Make a new state. | |
void | entry (const Event &e) |
Nothing to do upon entry. | |
void | during () |
Nothing to do in during. | |
void | exit (const Event &e) |
![]() | |
State () | |
Construct an unnamed State. | |
State (std::string name) | |
Construct a state with the given name. | |
std::string | name () |
int | id () |
void | emit (const Event &e) |
StateMachine & | state_machine () |
The state in which the oven's door is closed and the oven is on. See examples/microwave.cc.
Definition at line 87 of file microwave.cc.
|
inlinevirtual |
As this state is left, turn off the oven.
e | An event with no value |
Implements elma::State.
Definition at line 100 of file microwave.cc.