Karlsruhe Institute of Technology (KIT) Logo

Master Motor Map

Whole-body human reference model and tools for unifying representations of whole-body human motion

Public Member Functions | Static Public Attributes | Protected Member Functions
MMM::ActionLabelAnnotation Class Reference
Inheritance diagram for MMM::ActionLabelAnnotation:
[legend]

Public Member Functions

 ActionLabelAnnotation (ActionLabel label, const std::optional< ActionObject > &mainObject, const std::optional< ActionObject > &source, const std::optional< ActionObject > &target, const std::optional< ActionObject > &secondMainObject, Failure failure=Failure::None)
 
 ActionLabelAnnotation (ActionLabel label, const std::string &mainObject=std::string(), const std::string &source=std::string(), const std::string &target=std::string(), const std::string &secondMainObject=std::string(), Failure failure=Failure::None)
 
 ActionLabelAnnotation (simox::xml::RapidXMLWrapperNodePtr node)
 
MotionAnnotationPtr clone () override
 
std::string getAnnotation () override
 
const Failure & getFailure () const
 
std::string getFailureStr (bool noneAsEmpty=true) const
 
const ActionLabel & getLabel () const
 
std::string getLabelStr () const
 
const std::optional< ActionObject > & getMainObject () const
 
std::string getMainObjectStr () const
 
const std::optional< ActionObject > & getSecondMainObject () const
 
std::string getSecondMainObjectStr () const
 
const std::optional< ActionObject > & getSource () const
 
std::string getSourceStr () const
 
const std::optional< ActionObject > & getTarget () const
 
std::string getTargetStr () const
 
bool isFailure () const
 
void notifyNameChange (MotionPtr motion, const std::string &oldMotionName) override
 
void setFailure (const Failure &failure)
 
void setFailure (const std::string &failure)
 
void setLabel (const ActionLabel &label)
 
void setMainObject (const ActionObject &value)
 
void setMainObject (const std::string &value)
 
void setSecondMainObject (const ActionObject &value)
 
void setSecondMainObject (const std::string &value)
 
void setSource (const ActionObject &value)
 
void setSource (const std::string &value)
 
void setTarget (const ActionObject &value)
 
void setTarget (const std::string &value)
 
- Public Member Functions inherited from MMM::MotionAnnotation
virtual void appendAnnotationXML (simox::xml::RapidXMLWrapperNodePtr node)
 
std::string getStyle () const
 
std::string getType () const
 
bool has (const std::string &type, const std::string &style=std::string()) const
 

Static Public Attributes

static constexpr const char * TYPE = "ActionLabel"
 

Protected Member Functions

void append (simox::xml::RapidXMLWrapperNodePtr annotationNode) override
 
- Protected Member Functions inherited from MMM::MotionAnnotation
 MotionAnnotation (const std::string &type, const std::string &style=std::string())
 

Additional Inherited Members

- Protected Attributes inherited from MMM::MotionAnnotation
std::string style
 
std::string type
 

The documentation for this class was generated from the following files:
KoroiBot Logo WALK-MAN Logo Xperience Logo SecondHands Logo TimeStorm Logo I-SUPPORT Logo
PACO-PLUS Logo SFB-588 Logo SPP1527 Logo