SourceForge Project Site
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

FSM Namespace Reference


Compounds

class  FSM::CFiniteStateMachine
class  FSM::CFSMAction
 Base class for Actions. More...

class  FSM::CFSMActionIncrVariable
 Action, that increments a variable by the specified value (1 by default). More...

class  FSM::CFSMActionSetVariable
 Action, that sets a variable to the specified value. More...

class  FSM::CFSMCondition
class  FSM::CFSMConditionTestVariable
class  FSM::CFSMLoader
 Base class for loader. More...

class  FSM::CFSMLoaderXML
 Loader that uses xerces library. More...

class  FSM::CFSMObject
class  FSM::CFSMPopTransition
 Pop transition. More...

class  FSM::CFSMPushTransition
 Push transition. More...

class  FSM::CFSMSaver
 Base class for savers. More...

class  FSM::CFSMSaverXML
 Saver, that saves the FSM in XML format. More...

class  FSM::CFSMSimpleLoaderXML
 XML loader. More...

class  FSM::CFSMSimpleTransition
 Simple transition. More...

class  FSM::CFSMState
class  FSM::CFSMTransition
 Base class for transitions. More...

class  FSM::CTokenizer

Typedefs

typedef map< string, CFSMState * > State_Map
typedef State_Map::value_type SM_VT
typedef map< string, int > Var_Map
typedef Var_Map::value_type VM_VT
typedef void(* InitClassF )(CFiniteStateMachine *fsm)
typedef CFSMObject *(* FSMObjectCreateMethod )()
typedef map< string, FSMObjectCreateMethodFSMObjectCreate_Map
typedef FSMObjectCreate_Map::value_type FSM_C_VT
typedef list< CFSMTransition * > Transition_List
typedef list< CFSMAction * > Action_List
typedef list< CFSMCondition * > Condition_List
typedef map< string, string > Attrib_Map
typedef Attrib_Map::value_type TAM_VT

Functions

iErrorCode FSM_OPEN_FILE_FAILED ("Could not open file\"%s\".")
iErrorCode FSM_LOAD_STARTED ("Cannot load a running FSM.")
iErrorCode FSM_LOAD_NOT_IMPLEMENTED ("Not implemented.")
iErrorCode FSM_TRANSITION_NOT_FOUND ("Transition not found.")
iErrorCode FSM_ACTION_NOT_FOUND ("Action not found.")
iErrorCode FSM_CONDITION_NOT_FOUND ("Condition not found.")
iErrorCode FSM_STATE_DEFINED_TWICE ("State\"%s\"is not unique.")
iErrorCode FSM_STATE_NOT_FOUND ("State\"%s\"not found.")
iErrorCode FSM_CANNOT_DELETE_CURRENT ("Cannot delete the state\"%s\":the state is current")
iErrorCode FSM_VARAIBLE_DEFINED_TWICE ("Varaible\"%s\"is not unique.")
iErrorCode FSM_VARIABLE_NOT_FOUND ("Varaible\"%s\"not found.")
iErrorCode FSM_INITIAL_AFTER_START ("Initial state set on an already running FSM.")
iErrorCode FSM_ALREADY_STARTED ("Start failed:already running")
iErrorCode FSM_NOT_STARTED ("ProcessEvent of a not started FSM called.")
iErrorCode FSM_CLEAR_STARTED ("Cannot clear a runnig FSM.")
iErrorCode FSM_TAG_NOT_FOUND ("Tag<%s > not found.")
iErrorCode FSM_MISSED_ATTRIBUTE ("Attribute\"%s\"of tag<%s >missed.")
iErrorCode FSM_UNKNOWN_TAG ("Unknown tag<%s > inside of<%s >.")
iErrorCode FSM_UNKNOWN_PARAM ("Unknown parameter\"%s\"of class\"%s\"")
iErrorCode FSM_UNKNOWN_CONDITION_VALUE ("Unknown condition value\"%s\"for parameter\"%s\"of class\"%s\".")
iErrorCode FSM_UNKNOWN_CONDITION ("Unknown condition value\"%d\".")
iErrorCode FSM_PARAM_NOT_SET ("Parameter\"%s\"of\"%s\"not set.")
iErrorCode FSM_CLASS_REGISTERED_TWICE ("Class\"%s\"registered twice.")
iErrorCode FSM_CANNOT_CREATE_CLASS ("Cannot create class\"%s\"")
iErrorCode FSM_PARAM_NOT_READ ("Could not read parameter\"%s\"from\"%s\".")

Variables

iErrorCode FSM_UNKNOWN_CONDITION_VALUE
iErrorCode FSM_OPEN_FILE_FAILED
iErrorCode FSM_LOAD_STARTED
iErrorCode FSM_LOAD_NOT_IMPLEMENTED
iErrorCode FSM_TRANSITION_NOT_FOUND
iErrorCode FSM_ACTION_NOT_FOUND
iErrorCode FSM_CONDITION_NOT_FOUND
iErrorCode FSM_STATE_DEFINED_TWICE
iErrorCode FSM_STATE_NOT_FOUND
iErrorCode FSM_CANNOT_DELETE_CURRENT
iErrorCode FSM_VARAIBLE_DEFINED_TWICE
iErrorCode FSM_VARIABLE_NOT_FOUND
iErrorCode FSM_INITIAL_AFTER_START
iErrorCode FSM_ALREADY_STARTED
iErrorCode FSM_NOT_STARTED
iErrorCode FSM_CLEAR_STARTED
iErrorCode FSM_TAG_NOT_FOUND
iErrorCode FSM_MISSED_ATTRIBUTE
iErrorCode FSM_UNKNOWN_TAG
iErrorCode FSM_UNKNOWN_PARAM
iErrorCode FSM_UNKNOWN_CONDITION
iErrorCode FSM_PARAM_NOT_SET
iErrorCode FSM_CLASS_REGISTERED_TWICE
iErrorCode FSM_CANNOT_CREATE_CLASS
iErrorCode FSM_PARAM_NOT_READ
const string ClassName = ""


Typedef Documentation

typedef list< CFSMAction * > FSM::Action_List
 

Definition at line 77 of file FSMState.h.

typedef map< string, string > FSM::Attrib_Map
 

Definition at line 79 of file Tokenizer.h.

typedef list< CFSMCondition* > FSM::Condition_List
 

Definition at line 76 of file FSMTransition.h.

typedef FSMObjectCreate_Map::value_type FSM::FSM_C_VT
 

Definition at line 121 of file FiniteStateMachine.h.

typedef map< string, FSMObjectCreateMethod > FSM::FSMObjectCreate_Map
 

Definition at line 120 of file FiniteStateMachine.h.

typedef CFSMObject*(* FSM::FSMObjectCreateMethod)()
 

Definition at line 118 of file FiniteStateMachine.h.

Referenced by FSM::CFiniteStateMachine::Create().

typedef void(* FSM::InitClassF)(CFiniteStateMachine* fsm)
 

Definition at line 117 of file FiniteStateMachine.h.

Referenced by FSM::CFiniteStateMachine::LoadClass().

typedef State_Map::value_type FSM::SM_VT
 

Definition at line 112 of file FiniteStateMachine.h.

typedef map< string, CFSMState* > FSM::State_Map
 

Definition at line 111 of file FiniteStateMachine.h.

typedef Attrib_Map::value_type FSM::TAM_VT
 

Definition at line 80 of file Tokenizer.h.

typedef list< CFSMTransition* > FSM::Transition_List
 

Definition at line 76 of file FSMState.h.

typedef map< string, int > FSM::Var_Map
 

Definition at line 114 of file FiniteStateMachine.h.

typedef Var_Map::value_type FSM::VM_VT
 

Definition at line 115 of file FiniteStateMachine.h.

Referenced by FSM::CFiniteStateMachine::AddVariable().


Function Documentation

iErrorCode FSM_ACTION_NOT_FOUND "Action not found."   
 

iErrorCode FSM_ALREADY_STARTED "Start failed:already running"   
 

iErrorCode FSM_CANNOT_CREATE_CLASS "Cannot create class\"%s\""   
 

iErrorCode FSM_CANNOT_DELETE_CURRENT "Cannot delete the state\"%s\":the state is current"   
 

iErrorCode FSM_CLASS_REGISTERED_TWICE "Class\"%s\"registered twice."   
 

iErrorCode FSM_CLEAR_STARTED "Cannot clear a runnig FSM."   
 

iErrorCode FSM_CONDITION_NOT_FOUND "Condition not found."   
 

iErrorCode FSM_INITIAL_AFTER_START "Initial state set on an already running FSM."   
 

iErrorCode FSM_LOAD_NOT_IMPLEMENTED "Not implemented."   
 

iErrorCode FSM_LOAD_STARTED "Cannot load a running FSM."   
 

iErrorCode FSM_MISSED_ATTRIBUTE "Attribute\"%s\"of tag<%s >missed."   
 

iErrorCode FSM_NOT_STARTED "ProcessEvent of a not started FSM called."   
 

iErrorCode FSM_OPEN_FILE_FAILED "Could not open file\"%s\"."   
 

iErrorCode FSM_PARAM_NOT_READ "Could not read parameter\"%s\"from\"%s\"."   
 

iErrorCode FSM_PARAM_NOT_SET "Parameter\"%s\"of\"%s\"not set."   
 

iErrorCode FSM_STATE_DEFINED_TWICE "State\"%s\"is not unique."   
 

iErrorCode FSM_STATE_NOT_FOUND "State\"%s\"not found."   
 

iErrorCode FSM_TAG_NOT_FOUND "Tag<%s > not found."   
 

iErrorCode FSM_TRANSITION_NOT_FOUND "Transition not found."   
 

iErrorCode FSM_UNKNOWN_CONDITION "Unknown condition value\"%d\"."   
 

iErrorCode FSM_UNKNOWN_CONDITION_VALUE "Unknown condition value\"%s\"for parameter\"%s\"of class\"%s\"."   
 

iErrorCode FSM_UNKNOWN_PARAM "Unknown parameter\"%s\"of class\"%s\""   
 

iErrorCode FSM_UNKNOWN_TAG "Unknown tag<%s > inside of<%s >."   
 

iErrorCode FSM_VARAIBLE_DEFINED_TWICE "Varaible\"%s\"is not unique."   
 

iErrorCode FSM_VARIABLE_NOT_FOUND "Varaible\"%s\"not found."   
 


Variable Documentation

const string FSM::ClassName = ""
 

Definition at line 32 of file FSMTransition.cpp.

iErrorCode FSM::FSM_ACTION_NOT_FOUND
 

Definition at line 58 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_ALREADY_STARTED
 

Definition at line 66 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_CANNOT_CREATE_CLASS
 

Definition at line 77 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_CANNOT_DELETE_CURRENT
 

Definition at line 62 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_CLASS_REGISTERED_TWICE
 

Definition at line 76 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_CLEAR_STARTED
 

Definition at line 68 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_CONDITION_NOT_FOUND
 

Definition at line 59 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_INITIAL_AFTER_START
 

Definition at line 65 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_LOAD_NOT_IMPLEMENTED
 

Definition at line 56 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_LOAD_STARTED
 

Definition at line 55 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_MISSED_ATTRIBUTE
 

Definition at line 70 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_NOT_STARTED
 

Definition at line 67 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_OPEN_FILE_FAILED
 

Definition at line 54 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_PARAM_NOT_READ
 

Definition at line 78 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_PARAM_NOT_SET
 

Definition at line 75 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_STATE_DEFINED_TWICE
 

Definition at line 60 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_STATE_NOT_FOUND
 

Definition at line 61 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_TAG_NOT_FOUND
 

Definition at line 69 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_TRANSITION_NOT_FOUND
 

Definition at line 57 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_UNKNOWN_CONDITION
 

Definition at line 74 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_UNKNOWN_CONDITION_VALUE
 

Definition at line 53 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_UNKNOWN_PARAM
 

Definition at line 72 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_UNKNOWN_TAG
 

Definition at line 71 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_VARAIBLE_DEFINED_TWICE
 

Definition at line 63 of file FSMErrorCodes.h.

Referenced by iThrow().

iErrorCode FSM::FSM_VARIABLE_NOT_FOUND
 

Definition at line 64 of file FSMErrorCodes.h.

Referenced by iThrow().


© 2002 by C-LAB
generated by doxygen