DynamicRemoteStateInstanceFactory Class Reference

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

+ Inheritance diagram for DynamicRemoteStateInstanceFactory:

Public Member Functions

 DynamicRemoteStateInstanceFactory (rapidxml::xml_node<> *xmlNode, armarx::statechartmodel::StatePtr parentState)
 
armarx::statechartmodel::StateInstancePtr getStateInstance () override
 
- Public Member Functions inherited from StateInstanceFactoryBase
 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...
 

Static Public Member Functions

static StateInstanceFactoryBasePtr createInstance (XmlParentPair)
 
static std::string getName ()
 
- 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...
 

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 >
 
- Protected Attributes inherited from StateInstanceFactoryBase
armarx::statechartmodel::StatePtr parentState
 
rapidxml::xml_nodexmlNode
 

Detailed Description

Definition at line 101 of file StateInstanceFactory.h.

Constructor & Destructor Documentation

◆ DynamicRemoteStateInstanceFactory()

Definition at line 130 of file StateInstanceFactory.cpp.

+ Here is the caller graph for this function:

Member Function Documentation

◆ createInstance()

StateInstanceFactoryBasePtr createInstance ( XmlParentPair  xmlParentPair)
static

Definition at line 144 of file StateInstanceFactory.cpp.

+ Here is the call graph for this function:

◆ getName()

static std::string getName ( )
inlinestatic

Definition at line 109 of file StateInstanceFactory.h.

◆ getStateInstance()

StateInstancePtr getStateInstance ( )
overridevirtual

Implements StateInstanceFactoryBase.

Definition at line 133 of file StateInstanceFactory.cpp.

+ Here is the call graph for this function:

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