Whole-body human reference model and tools for unifying representations of whole-body human motion
Public Member Functions | |
| virtual MotionAnnotationPtr | createAnnotation (simox::xml::RapidXMLWrapperNodePtr annotationNode)=0 |
| virtual std::string | getName ()=0 |
Public Member Functions inherited from MMM::AbstractFactoryMethod< AnnotationFactory, void * > | |
| bool | checkBase () |
| Checks if the Plugin is valid base class. | |
| std::string | getDescription () const |
| Return the description of the current instance. | |
| std::string | getPath () const |
| Return the path of the current instance. | |
| void | setDescription (const std::string &newDescription) |
| Set a description on the instance it is called on. | |
| void | setPath (const std::string &path) |
| Set a path on the instance it is called on. | |
Static Public Attributes | |
| static constexpr const char * | VERSION = "1.0" |
Additional Inherited Members | |
Public Types inherited from MMM::AbstractFactoryMethod< AnnotationFactory, void * > | |
| typedef std::shared_ptr< AnnotationFactory >(* | initialisationFunction) (void *) |
| The function pointer type of subclass initialisation functions. More... | |
Static Public Member Functions inherited from MMM::AbstractFactoryMethod< AnnotationFactory, void * > | |
| static std::shared_ptr< AnnotationFactory > | createInstance (void *) |
| Initialisation function which needs to be provided by every subclass. More... | |
| static std::shared_ptr< AnnotationFactory > | first (void * params) |
| Function which can be used to retrieve the first registered object. | |
| static std::shared_ptr< AnnotationFactory > | fromName (const std::string &name, void * params) |
| Function which can be used to retrieve an object specified by string name. | |
| static std::string | getName () |
| Returns the class's name. More... | |
| static std::vector< std::string > | getSubclassList () |
| Return a list of all registered subclasses. | |
| 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. | |
|
pure virtual |
Creates a annotation from an xml representation.
| annotationNode | The annotation xml node. |
Implemented in MMM::ActionLabelAnnotationFactory, and MMM::BimanualAnnotationFactory.
|
pure virtual |
Returns the annotation type as name of the factory.
Implemented in MMM::ActionLabelAnnotationFactory, and MMM::BimanualAnnotationFactory.