Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

DC_CyclingTelemetryModeManager Class Reference

#include <DC_CyclingTelemetryModeManager.h>

Inheritance diagram for DC_CyclingTelemetryModeManager:

TelemetryListModeManager TelemetryModeManager ModeManager CC_RootObject List of all members.

Detailed Description

Telemetry mode manager that cycles through the lists of telemetry packets.

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):

Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

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.


Constructor & Destructor Documentation

DC_CyclingTelemetryModeManager::DC_CyclingTelemetryModeManager void   ) 
 

Instantiate a cycling telemetry mode manager.

This constructor sets the class identifier and then returns.

Definition at line 15 of file DC_CyclingTelemetryModeManager.cpp.


Member Function Documentation

void DC_CyclingTelemetryModeManager::update void   )  [virtual]
 

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.

See also:
ModeManager::update

Implements ModeManager.

Definition at line 19 of file DC_CyclingTelemetryModeManager.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved