#include <DC_CyclingTelemetryModeManager.h>
Inheritance diagram for DC_CyclingTelemetryModeManager:
This class extends the base class TelemetryListModeManager
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_CyclingTelemetryModeManager.h.
Public Member Functions | |
DC_CyclingTelemetryModeManager (void) | |
Instantiate a cycling telemetry mode manager. | |
virtual void | update (void) |
Cycle through the operational modes. |
|
Instantiate a cycling telemetry mode manager. This constructor sets the class identifier and then returns. Definition at line 15 of file DC_CyclingTelemetryModeManager.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_CyclingTelemetryModeManager.cpp. |