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. More...
 

Protected Attributes

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

Additional Inherited Members

- Public Types inherited from AbstractFactoryMethod< StateInstanceFactoryBase, XmlParentPair >
using BaseFactory = StateInstanceFactoryBase
 
using ConstructorArg = XmlParentPair
 
typedef SharedPointerType(* initialisationFunction) (XmlParentPair)
 The function pointer type of subclass initialisation functions. More...
 
using SharedPointerType = std::shared_ptr< StateInstanceFactoryBase >
 
- Static Public Member Functions inherited from AbstractFactoryMethod< StateInstanceFactoryBase, XmlParentPair >
static SharedPointerType createInstance (XmlParentPair)
 Initialisation function which needs to be provided by every subclass. More...
 
static SharedPointerType fromName (const std::string &name, XmlParentPair params)
 Function which can be used to retrieve an object specified by string name. More...
 
static std::vector< std::string > getAvailableClasses ()
 getAvailableClasses retrieves a list of all registered classes as their string-representation. More...
 
static std::string getName ()
 Returns the class's name. More...
 
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. More...
 

Detailed Description

Definition at line 35 of file StateInstanceFactory.h.

Constructor & Destructor Documentation

◆ StateInstanceFactoryBase()

Definition at line 61 of file StateInstanceFactory.cpp.

◆ ~StateInstanceFactoryBase()

virtual ~StateInstanceFactoryBase ( )
inlinevirtual

Definition at line 39 of file StateInstanceFactory.h.

Member Function Documentation

◆ getStateInstance()

Member Data Documentation

◆ parentState

armarx::statechartmodel::StatePtr parentState
protected

Definition at line 45 of file StateInstanceFactory.h.

◆ xmlNode

rapidxml::xml_node* xmlNode
protected

Definition at line 44 of file StateInstanceFactory.h.


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