My Elma Project
An event loop manager for embedded systems
 All Classes Functions
Public Member Functions | List of all members
stopwatch::OffState Class Reference

A State class to represen the state in which the stopwatch is off. More...

#include <off.h>

+ Inheritance diagram for stopwatch::OffState:
+ Collaboration diagram for stopwatch::OffState:

Public Member Functions

 OffState ()
 Construct a new off state.
 
void entry (const Event &e)
 
void during ()
 
void exit (const Event &e)
 
StopWatchstopwatch ()
 

Detailed Description

A State class to represen the state in which the stopwatch is off.

Definition at line 15 of file off.h.

Member Function Documentation

void OffState::exit ( const Event &  e)

Perform actions required when switching from off to on

Parameters
eThe event that triggered the transition

Definition at line 13 of file off.cc.

StopWatch & OffState::stopwatch ( )
Returns
A reference to the containing finite state machine object

Definition at line 11 of file off.cc.


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