#include <TelemetryModeManager.h>
Inheritance diagram for TelemetryModeManager:
A telemetry mode manager handles one single strategy, which is represented by a set of telemetry packet components. To every operational mode, the telemetry mode manager associates a set of telemetry packets. Client access the items in this set through four iteration methods: first
, next
, isIterationFinished
, and getIterationTelemetryPacket
.
This is an abstract class because it specifies neither the implementation mechanism for the set of telemetry packets nor the mode update mechanism.
Definition at line 37 of file TelemetryModeManager.h.
Public Member Functions | |
TelemetryModeManager (void) | |
Instantiate a telemetry mode manager. | |
virtual void | first (void)=0 |
Iteration method to iterate through the items in the set of telemetry packets applicable to the current operational mode. | |
virtual void | next (void)=0 |
Iteration method to be used in conjunction with methods first and isIterationFinished . | |
virtual bool | isIterationFinished (void)=0 |
Iteration method to be used in conjunction with methods first and next . | |
virtual TelemetryPacket * | getIterationTelemetryPacket (void)=0 |
Return the telemetry packet pointed at by the iterator. |
|
Instantiate a telemetry mode manager. This constructor returns without taking any action. Definition at line 13 of file TelemetryModeManager.cpp. |
|
Iteration method to iterate through the items in the set of telemetry packets applicable to the current operational mode.
This method should be used jointly with methods: for (first(); !isIterationFinished(); next()) { pItem = getTelemetryPacket(); . . . // process pItem }
Implemented in DC_PUSTelemetryModeManager, and TelemetryListModeManager. |
|
Return the telemetry packet pointed at by the iterator.
This method is a type-safe wrapper for method
Implemented in DC_PUSTelemetryModeManager, and TelemetryListModeManager. |
|
Iteration method to be used in conjunction with methods
This method should only be used as part of an iteration cycle. The result of calling it before ever calling
Implemented in DC_PUSTelemetryModeManager, and TelemetryListModeManager. |
|
Iteration method to be used in conjunction with methods
Implemented in DC_PUSTelemetryModeManager, and TelemetryListModeManager. |