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

DC_UnstableFsmState Class Reference

#include <DC_UnstableFsmState.h>

Inheritance diagram for DC_UnstableFsmState:

FsmState CC_RootObject List of all members.

Detailed Description

FsmState that takes no action and exits immediately.

This state is useful as a placeholder state. 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 terminated". This means that this state is an unstable state that will be immediately exited.

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

Definition at line 31 of file DC_UnstableFsmState.h.

Public Member Functions

 DC_UnstableFsmState (void)
 Instantiate the FsmState and set its class identifier.

virtual void doContinue (void)
 This method returns without doing anything.

virtual bool isFinished (void)
 This method always returns "state has terminated".


Member Function Documentation

void DC_UnstableFsmState::doContinue void   )  [virtual]
 

This method returns without doing anything.

See also:
FsmState::doContinue

Implements FsmState.

Definition at line 18 of file DC_UnstableFsmState.cpp.

bool DC_UnstableFsmState::isFinished void   )  [virtual]
 

This method always returns "state has terminated".

See also:
FsmState::doContinue
Returns:
always return true

Reimplemented from FsmState.

Definition at line 22 of file DC_UnstableFsmState.cpp.


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