Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitk::StateMachineContainer Class Reference

#include <mitkStateMachineContainer.h>

Inheritance diagram for mitk::StateMachineContainer:
Collaboration diagram for mitk::StateMachineContainer:

Public Types

typedef std::vector< StateMachineState::PointerStateMachineCollectionType
 This type holds all states of one statemachine. More...
 

Public Member Functions

 vtkTypeMacro (StateMachineContainer, vtkXMLParser)
 
StateMachineState::Pointer GetStartState () const
 Returns the StartState of the StateMachine. More...
 
bool LoadBehavior (const std::string &fileName, const us::Module *module)
 Loads XML resource. More...
 

Static Public Member Functions

static StateMachineContainerNew ()
 

Protected Member Functions

 StateMachineContainer ()
 
 ~StateMachineContainer () override
 
void StartElement (const char *elementName, const char **atts) override
 Derived from XMLReader. More...
 
void EndElement (const char *elementName) override
 Derived from XMLReader. More...
 

Detailed Description

Definition at line 39 of file mitkStateMachineContainer.h.

Member Typedef Documentation

◆ StateMachineCollectionType

This type holds all states of one statemachine.

Definition at line 48 of file mitkStateMachineContainer.h.

Constructor & Destructor Documentation

◆ StateMachineContainer()

mitk::StateMachineContainer::StateMachineContainer ( )
protected

◆ ~StateMachineContainer()

mitk::StateMachineContainer::~StateMachineContainer ( )
overrideprotected

Member Function Documentation

◆ EndElement()

void mitk::StateMachineContainer::EndElement ( const char *  elementName)
overrideprotected

Derived from XMLReader.

◆ GetStartState()

StateMachineState::Pointer mitk::StateMachineContainer::GetStartState ( ) const

Returns the StartState of the StateMachine.

◆ LoadBehavior()

bool mitk::StateMachineContainer::LoadBehavior ( const std::string &  fileName,
const us::Module module 
)

Loads XML resource.

Loads a XML resource file in the given module context. The files have to be placed in the Resources/Interaction folder of their respective module.

◆ New()

static StateMachineContainer* mitk::StateMachineContainer::New ( )
static

◆ StartElement()

void mitk::StateMachineContainer::StartElement ( const char *  elementName,
const char **  atts 
)
overrideprotected

Derived from XMLReader.

◆ vtkTypeMacro()

mitk::StateMachineContainer::vtkTypeMacro ( StateMachineContainer  ,
vtkXMLParser   
)

The documentation for this class was generated from the following file: