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

DC_DummyPunctualAction Class Reference

#include <DC_DummyPunctualAction.h>

Inheritance diagram for DC_DummyPunctualAction:

PunctualAction CC_RootObject List of all members.

Detailed Description

Dummy punctual action that does not perform any action and always returns "action successful".

This punctual action may be useful for testing purposes.

Author:
Alessandro Pasetti (P&P Software GmbH)

Roberto Totaro

Version:
1.1

Definition at line 29 of file DC_DummyPunctualAction.h.

Public Member Functions

 DC_DummyPunctualAction (void)
 Instantiate a dummy punctual action.

unsigned int getActivationCounter (void) const
 Return the value of the activation counter.


Protected Member Functions

virtual TD_ActionOutcome doAction (void)
 This method increments the activation counter and returns a code of "action successful".


Member Function Documentation

TD_ActionOutcome DC_DummyPunctualAction::doAction void   )  [protected, virtual]
 

This method increments the activation counter and returns a code of "action successful".

See also:
PunctualAction::execute
Returns:
always returns an "action successful" code

Implements PunctualAction.

Definition at line 24 of file DC_DummyPunctualAction.cpp.

unsigned int DC_DummyPunctualAction::getActivationCounter void   )  const
 

Return the value of the activation counter.

See also:
doAction
Returns:
the value of the activation counter

Definition at line 29 of file DC_DummyPunctualAction.cpp.


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