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

CC_PunctualActionManager Class Reference
[Functionality Managers]

#include <CC_PunctualActionManager.h>

Inheritance diagram for CC_PunctualActionManager:

CC_RootObject List of all members.

Detailed Description

This class encapsulates a punctual action manager.

The punctual action manager is responsible for controlling the execution of a list of punctual actions. The punctual actions are encapsulated in instances of PunctualAction components. The punctual actions to be executed are provided by a punctual action mode manager that is loaded as a plug-in component in the punctual action manager.

When the punctual action manager is activated, it asks its mode manager for the list of punctual actions to be executed and executes them in sequence.

See also:
PunctualAction

PunctualActionModeManager

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

Definition at line 38 of file CC_PunctualActionManager.h.

Public Member Functions

 CC_PunctualActionManager (void)
 Instantiate a punctual action manager.

void setPunctualActionModeManager (PunctualActionModeManager *pModeManager)
 Load the punctual action mode manager.

PunctualActionModeManagergetPunctualActionModeManager (void) const
 Get the punctual action mode manager.

void activate (void)
 Execute the punctual actions supplied by the mode manager.

virtual bool isObjectConfigured (void)
 Perform a class-specific configuration check on the punctual action manager: verify that the punctual action mode manager has been loaded.


Constructor & Destructor Documentation

CC_PunctualActionManager::CC_PunctualActionManager void   ) 
 

Instantiate a punctual action manager.

The class identifier is set.

Definition at line 17 of file CC_PunctualActionManager.cpp.


Member Function Documentation

void CC_PunctualActionManager::activate void   ) 
 

Execute the punctual actions supplied by the mode manager.

A pseudocode implementation for this method is as follows:

      for (all pItem items provided by the puntual action mode manager)
          pItem->execute(); 
Note that the outcome of the punctual action (i.e. the return value of the execute method) is disregarded.

Definition at line 32 of file CC_PunctualActionManager.cpp.

PunctualActionModeManager * CC_PunctualActionManager::getPunctualActionModeManager void   )  const
 

Get the punctual action mode manager.

Returns:
the punctual action mode manager

Definition at line 28 of file CC_PunctualActionManager.cpp.

bool CC_PunctualActionManager::isObjectConfigured void   )  [virtual]
 

Perform a class-specific configuration check on the punctual action manager: verify that the punctual action mode manager has been loaded.

Returns:
true if the punctual action manager is configured, false otherwise.

Reimplemented from CC_RootObject.

Definition at line 39 of file CC_PunctualActionManager.cpp.

void CC_PunctualActionManager::setPunctualActionModeManager PunctualActionModeManager pModeManager  ) 
 

Load the punctual action mode manager.

Parameters:
pModeManager the telemetry mode manager

Definition at line 22 of file CC_PunctualActionManager.cpp.


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