#include <DC_CyclingPunctualActionModeManager.h>
Inheritance diagram for DC_CyclingPunctualActionModeManager:
This class extends the base class PunctualActionListModeManager
by adding to it an implementation for the update mechanism that cycles through all the operational modes defined for the mode manager. An initialization sequence for this class consists of the following steps (to be performed in the order given):
setNumberOfModes
setDefaultMode
setListLength
setListItem
reset
Definition at line 35 of file DC_CyclingPunctualActionModeManager.h.
Public Member Functions | |
DC_CyclingPunctualActionModeManager (void) | |
Instantiate a cycling punctual action mode manager. | |
virtual void | update (void) |
Cycle through the operational modes. |
|
Instantiate a cycling punctual action mode manager. This constructor sets the class identifier and then returns. Definition at line 15 of file DC_CyclingPunctualActionModeManager.cpp. |
|
Cycle through the operational modes. Let N be the number of modes and C be the current mode. If C is smaller than (N-1), then this method updates the operationa mode to: (C+1). Otherwise it updates it to 0.
Implements ModeManager. Definition at line 19 of file DC_CyclingPunctualActionModeManager.cpp. |