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

DC_CyclingPunctualActionModeManager Class Reference

#include <DC_CyclingPunctualActionModeManager.h>

Inheritance diagram for DC_CyclingPunctualActionModeManager:

PunctualActionListModeManager PunctualActionModeManager ModeManager CC_RootObject List of all members.

Detailed Description

Punctual action mode manager that cycles through the lists of punctual actions.

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

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

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.


Constructor & Destructor Documentation

DC_CyclingPunctualActionModeManager::DC_CyclingPunctualActionModeManager void   ) 
 

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.


Member Function Documentation

void DC_CyclingPunctualActionModeManager::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_CyclingPunctualActionModeManager.cpp.


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