17 #ifndef STATEMACHINECONTAINER_H_HEADER_INCLUDED_C19AEDDD
18 #define STATEMACHINECONTAINER_H_HEADER_INCLUDED_C19AEDDD
20 #include "itkObject.h"
22 #include <vtkXMLParser.h>
24 #include "itkObjectFactory.h"
79 void StartElement(
const char *elementName,
const char **atts)
override;
83 void EndElement(
const char *elementName)
override;
89 std::string ReadXMLStringAttribut(std::string name,
const char **atts);
93 bool ReadXMLBooleanAttribut(std::string name,
const char **atts);
104 StateMachineCollectionType m_States;
105 bool m_StartStateFound;
109 std::string m_Filename;
bool LoadBehavior(const std::string &fileName, const us::Module *module)
Loads XML resource.
vtkTypeMacro(StateMachineContainer, vtkXMLParser)
DataCollection - Class to facilitate loading/accessing structured data.
StateMachineState::Pointer GetStartState() const
Returns the StartState of the StateMachine.
void StartElement(const char *elementName, const char **atts) override
Derived from XMLReader.
friend class InteractionStateMachine
static StateMachineContainer * New()
virtual ~StateMachineContainer()
std::vector< StateMachineState::Pointer > StateMachineCollectionType
This type holds all states of one statemachine.
void EndElement(const char *elementName) override
Derived from XMLReader.