StateInstanceFactoryBase Class Referenceabstract

#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/io/StateInstanceFactory.h>

+ Inheritance diagram for StateInstanceFactoryBase:

Public Member Functions

virtual armarx::statechartmodel::StateInstancePtr getStateInstance ()=0
 
 StateInstanceFactoryBase (rapidxml::xml_node<> *xmlNode, armarx::statechartmodel::StatePtr parentState)
 
virtual ~StateInstanceFactoryBase ()
 
- Public Member Functions inherited from AbstractFactoryMethod< StateInstanceFactoryBase, XmlParentPair >
std::string getClassName ()
 getClassName returns the name that this instance was generated with.
 

Protected Attributes

armarx::statechartmodel::StatePtr parentState
 
rapidxml::xml_nodexmlNode
 

Additional Inherited Members

- Public Types inherited from AbstractFactoryMethod< StateInstanceFactoryBase, XmlParentPair >
using BaseFactory
 
using ConstructorArg
 
typedef SharedPointerType(* initialisationFunction) (XmlParentPair)
 The function pointer type of subclass initialisation functions.
 
using SharedPointerType
 
- Static Public Member Functions inherited from AbstractFactoryMethod< StateInstanceFactoryBase, XmlParentPair >
static SharedPointerType createInstance (XmlParentPair)
 Initialisation function which needs to be provided by every subclass.
 
static SharedPointerType fromName (const std::string &name, XmlParentPair params)
 Function which can be used to retrieve an object specified by string name.
 
static std::vector< std::string > getAvailableClasses ()
 getAvailableClasses retrieves a list of all registered classes as their string-representation.
 
static std::string getName ()
 Returns the class's name.
 
static void registerClass (const std::string &name, initialisationFunction init)
 Statically called by subclasses to register their name and initialisation function so they can be found by fromName.
 

Detailed Description

Definition at line 34 of file StateInstanceFactory.h.

Constructor & Destructor Documentation

◆ StateInstanceFactoryBase()

Definition at line 71 of file StateInstanceFactory.cpp.

+ Here is the caller graph for this function:

◆ ~StateInstanceFactoryBase()

virtual ~StateInstanceFactoryBase ( )
inlinevirtual

Definition at line 41 of file StateInstanceFactory.h.

Member Function Documentation

◆ getStateInstance()

Member Data Documentation

◆ parentState

armarx::statechartmodel::StatePtr parentState
protected

Definition at line 49 of file StateInstanceFactory.h.

◆ xmlNode

rapidxml::xml_node* xmlNode
protected

Definition at line 48 of file StateInstanceFactory.h.


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