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

DC_DummyFsmState Class Reference

#include <DC_DummyFsmState.h>

Inheritance diagram for DC_DummyFsmState:

FsmState CC_RootObject List of all members.

Detailed Description

Dummy FsmState useful for testing purposes and to represent FsmStates to which no actions and no checks are associated.

The actions associated to the FsmState are implemented as dummy actions that return without doing anything. The checks associated to the FsmState are implemented to always return: "state can be entered", "state can be exited", and "continued action has not yet terminated". This means that this state is a stable state that will not be exited unless a state change is commanded to the FSM.

See also:
CC_FSM
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.1

Definition at line 32 of file DC_DummyFsmState.h.

Public Member Functions

 DC_DummyFsmState (void)
 Instantiate a dummy FsmState object and initialize the activation counter to zero.

virtual void doContinue (void)
 Implement dummy continued action: the method increments the activation counter by 1 returns.


Member Function Documentation

void DC_DummyFsmState::doContinue void   )  [virtual]
 

Implement dummy continued action: the method increments the activation counter by 1 returns.

See also:
FsmState::doContinue

Implements FsmState.

Definition at line 18 of file DC_DummyFsmState.cpp.


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