#include <DC_DummyModeManager.h>
Inheritance diagram for DC_DummyModeManager:
This mode manager does not define any strategies. Its implementation of the update service consists in cycling through all possible operational modes.
Definition at line 25 of file DC_DummyModeManager.h.
Public Member Functions | |
DC_DummyModeManager (void) | |
Instantiate a dummy mode manager. | |
virtual void | update (void) |
Cycle through the operational mode. | |
Protected Member Functions | |
virtual void | allocateMemory (TD_Mode numberOfModes) |
This method returns without taking any action. |
|
Instantiate a dummy mode manager. This constructor sets the class identifier and then returns. Definition at line 15 of file DC_DummyModeManager.cpp. |
|
This method returns without taking any action. No action is required because this implementation of a mode manager does not use any internal data structures. Implements ModeManager. Definition at line 26 of file DC_DummyModeManager.cpp. |
|
Cycle through the operational mode. Let N be the number of modes and C be the current mode. If C is smaller than (N-1), then this method returns C+1. Otherwise it returns 0.
Implements ModeManager. Definition at line 19 of file DC_DummyModeManager.cpp. |