#include <PunctualActionModeManager.h>
Inheritance diagram for PunctualActionModeManager:
A punctual action mode manager handles one single strategy, which is represented by a set of punctual action components. To every operational mode, the telemetry mode manager associates a set of punctual actions. Client access the items in this set through four iteration methods: first
, next
, isIterationFinished
, and getPunctualAction
.
This is an abstract class because it specifies neither the implementation mechanism for the set of punctual actions nor the mode update mechanism.
Roberto Totaro
Definition at line 40 of file PunctualActionModeManager.h.
Public Member Functions | |
PunctualActionModeManager (void) | |
Instantiate a punctual action mode manager. | |
virtual void | first (void)=0 |
Iteration method to iterate through the items in the set of punctual actions 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 PunctualAction * | getIterationPunctualAction (void)=0 |
Return the punctual action item pointed at by the iterator. |
|
Instantiate a punctual action mode manager. This constructor returns without taking any action. Definition at line 13 of file PunctualActionModeManager.cpp. |
|
Iteration method to iterate through the items in the set of punctual actions applicable to the current operational mode.
This method should be used jointly with methods: for (first(); !isIterationFinished(); next()) { pItem = getIterationPunctualAction(); . . . // process pItem }
Implemented in PunctualActionListModeManager. |
|
Return the punctual action item pointed at by the iterator.
This method is a type-safe wrapper for method
Implemented in PunctualActionListModeManager. |
|
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 PunctualActionListModeManager. |
|
Iteration method to be used in conjunction with methods
Implemented in PunctualActionListModeManager. |