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

FSM::CFSMSimpleLoaderXML Class Reference

XML loader. More...

#include <FSMLoader.h>

Inheritance diagram for FSM::CFSMSimpleLoaderXML::

FSM::CFSMLoader List of all members.

Public Methods

 CFSMSimpleLoaderXML (CFiniteStateMachine *fsm)
virtual ~CFSMSimpleLoaderXML ()
bool Load (const char *filename)
bool Load (FILE *inFile)

Protected Methods

bool LoadFSM ()
bool LoadVariable ()
bool LoadState ()
bool LoadParam (CFSMObject *obj)
bool LoadEnterAction (CFSMState *state)
bool LoadTransition (CFSMState *state)
bool LoadLeaveAction (CFSMState *state)
bool LoadTransAction (CFSMTransition *trans)
bool LoadCondition (CFSMTransition *trans)

Protected Attributes

CFiniteStateMachinem_FSM

Private Attributes

CTokenizerm_Tokenizer

Detailed Description

XML loader.

Definition at line 70 of file FSMLoader.h.


Constructor & Destructor Documentation

FSM::CFSMSimpleLoaderXML::CFSMSimpleLoaderXML CFiniteStateMachine   fsm
 

Definition at line 55 of file FSMLoader.cpp.

FSM::CFSMSimpleLoaderXML::~CFSMSimpleLoaderXML   [virtual]
 

Definition at line 61 of file FSMLoader.cpp.


Member Function Documentation

bool FSM::CFSMSimpleLoaderXML::Load FILE *    inFile
 

Definition at line 80 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), LoadFSM(), FSM::CFSMLoader::m_FSM, and m_Tokenizer.

bool FSM::CFSMSimpleLoaderXML::Load const char *    filename
 

Definition at line 65 of file FSMLoader.cpp.

References CRITICAL, iRethrow, and iThrow().

bool FSM::CFSMSimpleLoaderXML::LoadCondition CFSMTransition   trans [protected]
 

Definition at line 625 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), LoadParam(), and m_Tokenizer.

Referenced by LoadTransition().

bool FSM::CFSMSimpleLoaderXML::LoadEnterAction CFSMState   state [protected]
 

Definition at line 367 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), LoadParam(), and m_Tokenizer.

Referenced by LoadState().

bool FSM::CFSMSimpleLoaderXML::LoadFSM   [protected]
 

Definition at line 129 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), LoadState(), LoadVariable(), FSM::CFSMLoader::m_FSM, and m_Tokenizer.

Referenced by Load().

bool FSM::CFSMSimpleLoaderXML::LoadLeaveAction CFSMState   state [protected]
 

Definition at line 422 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), LoadParam(), and m_Tokenizer.

Referenced by LoadState().

bool FSM::CFSMSimpleLoaderXML::LoadParam CFSMObject   obj [protected]
 

Definition at line 324 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), and m_Tokenizer.

Referenced by LoadCondition(), LoadEnterAction(), LoadLeaveAction(), LoadState(), LoadTransAction(), and LoadTransition().

bool FSM::CFSMSimpleLoaderXML::LoadState   [protected]
 

Definition at line 229 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), LoadEnterAction(), LoadLeaveAction(), LoadParam(), LoadTransition(), FSM::CFSMLoader::m_FSM, and m_Tokenizer.

Referenced by LoadFSM().

bool FSM::CFSMSimpleLoaderXML::LoadTransAction CFSMTransition   trans [protected]
 

Definition at line 477 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), LoadParam(), and m_Tokenizer.

Referenced by LoadTransition().

bool FSM::CFSMSimpleLoaderXML::LoadTransition CFSMState   state [protected]
 

Definition at line 532 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), LoadCondition(), LoadParam(), LoadTransAction(), and m_Tokenizer.

Referenced by LoadState().

bool FSM::CFSMSimpleLoaderXML::LoadVariable   [protected]
 

Definition at line 186 of file FSMLoader.cpp.

References CRITICAL, iRethrow, iThrow(), FSM::CFSMLoader::m_FSM, and m_Tokenizer.

Referenced by LoadFSM().


Member Data Documentation

CFiniteStateMachine* FSM::CFSMLoader::m_FSM [protected, inherited]
 

Definition at line 64 of file FSMLoader.h.

Referenced by FSM::CFSMLoaderXML::Load(), Load(), LoadFSM(), LoadState(), and LoadVariable().

CTokenizer* FSM::CFSMSimpleLoaderXML::m_Tokenizer [private]
 

Definition at line 92 of file FSMLoader.h.

Referenced by Load(), LoadCondition(), LoadEnterAction(), LoadFSM(), LoadLeaveAction(), LoadParam(), LoadState(), LoadTransAction(), LoadTransition(), and LoadVariable().


The documentation for this class was generated from the following files:
© 2002 by C-LAB
generated by doxygen