|
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...
Inheritance diagram for microwave_example::DoorClosedOn:
Collaboration diagram for microwave_example::DoorClosedOn: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) |
Public Member Functions inherited from elma::State | |
| 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.