|
#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/io/StateInstanceFactory.h>
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_node * | xmlNode |
Definition at line 101 of file StateInstanceFactory.h.
DynamicRemoteStateInstanceFactory | ( | rapidxml::xml_node<> * | xmlNode, |
armarx::statechartmodel::StatePtr | parentState | ||
) |
Definition at line 130 of file StateInstanceFactory.cpp.
|
static |
|
inlinestatic |
Definition at line 109 of file StateInstanceFactory.h.
|
overridevirtual |
Implements StateInstanceFactoryBase.
Definition at line 133 of file StateInstanceFactory.cpp.