|
#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/io/StateInstanceFactory.h>
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_node * | xmlNode |
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... | |
Definition at line 35 of file StateInstanceFactory.h.
StateInstanceFactoryBase | ( | rapidxml::xml_node<> * | xmlNode, |
armarx::statechartmodel::StatePtr | parentState | ||
) |
Definition at line 61 of file StateInstanceFactory.cpp.
|
inlinevirtual |
Definition at line 39 of file StateInstanceFactory.h.
|
pure virtual |
|
protected |
Definition at line 45 of file StateInstanceFactory.h.
|
protected |
Definition at line 44 of file StateInstanceFactory.h.