XMLStateFactoryBase Struct Reference

#include <ArmarXCore/statechart/xmlstates/XMLState.h>

+ Inheritance diagram for XMLStateFactoryBase:

Additional Inherited Members

- Public Types inherited from AbstractFactoryMethod< XMLStateFactoryBase, XMLStateConstructorParams, XMLStateFactoryBasePtr >
using BaseFactory = XMLStateFactoryBase
 
using ConstructorArg = XMLStateConstructorParams
 
typedef SharedPointerType(* initialisationFunction) (XMLStateConstructorParams)
 The function pointer type of subclass initialisation functions. More...
 
using SharedPointerType = XMLStateFactoryBasePtr
 
- Public Member Functions inherited from AbstractFactoryMethod< XMLStateFactoryBase, XMLStateConstructorParams, XMLStateFactoryBasePtr >
std::string getClassName ()
 getClassName returns the name that this instance was generated with. More...
 
- Static Public Member Functions inherited from AbstractFactoryMethod< XMLStateFactoryBase, XMLStateConstructorParams, XMLStateFactoryBasePtr >
static SharedPointerType createInstance (XMLStateConstructorParams)
 Initialisation function which needs to be provided by every subclass. More...
 
static SharedPointerType fromName (const std::string &name, XMLStateConstructorParams 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 66 of file XMLState.h.


The documentation for this struct was generated from the following file: