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

FSM::CFSMSaver Class Reference

Base class for savers. More...

#include <FSMLoader.h>

Inheritance diagram for FSM::CFSMSaver::

FSM::CFSMSaverXML List of all members.

Public Methods

 CFSMSaver (const CFiniteStateMachine *fsm)
virtual ~CFSMSaver ()
virtual bool SaveParameter (const char *name, const char *value) const=0
 Service for objects that are about to be saved. More...


Protected Methods

bool SaveParameters (const CFSMObject *obj)
 Let the object call SaveParameter for each of its parameter. More...


Protected Attributes

const CFiniteStateMachinem_FSM

Detailed Description

Base class for savers.

Definition at line 116 of file FSMLoader.h.


Constructor & Destructor Documentation

FSM::CFSMSaver::CFSMSaver const CFiniteStateMachine   fsm
 

Definition at line 814 of file FSMLoader.cpp.

FSM::CFSMSaver::~CFSMSaver   [virtual]
 

Definition at line 819 of file FSMLoader.cpp.


Member Function Documentation

virtual bool FSM::CFSMSaver::SaveParameter const char *    name,
const char *    value
const [pure virtual]
 

Service for objects that are about to be saved.

The given parameter should be saved by the saver.

bool FSM::CFSMSaver::SaveParameters const CFSMObject   obj [protected]
 

Let the object call SaveParameter for each of its parameter.

Definition at line 823 of file FSMLoader.cpp.

References iRethrow.

Referenced by FSM::CFSMSaverXML::SaveAction(), FSM::CFSMSaverXML::SaveCondition(), FSM::CFSMSaverXML::SaveState(), and FSM::CFSMSaverXML::SaveTransition().


Member Data Documentation

const CFiniteStateMachine* FSM::CFSMSaver::m_FSM [protected]
 

Reimplemented in FSM::CFSMSaverXML.

Definition at line 134 of file FSMLoader.h.


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