Elma
An event loop manager for embedded systems
Public Member Functions | List of all members
microwave_example::DoorOpen Class Reference

The state in which the oven's door is open and the oven is off. See examples/microwave.cc. More...

+ Inheritance diagram for microwave_example::DoorOpen:
+ Collaboration diagram for microwave_example::DoorOpen:

Public Member Functions

 DoorOpen ()
 Make a new state.
 
void entry (const Event &e)
 Upon entry,.
 
void during ()
 Nothing to do during this state.
 
void exit (const Event &e)
 Nothing to do upon exiting this state.
 
- 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)
 
StateMachinestate_machine ()
 

Detailed Description

The state in which the oven's door is open and the oven is off. See examples/microwave.cc.

Definition at line 106 of file microwave.cc.


The documentation for this class was generated from the following file: