19 #ifndef __ROSEE_ACTIONPRIMITIVE_H 20 #define __ROSEE_ACTIONPRIMITIVE_H 30 #include <yaml-cpp/yaml.h> 53 typedef std::shared_ptr<ActionPrimitive>
Ptr;
54 typedef std::shared_ptr<const ActionPrimitive>
ConstPtr;
78 virtual void emitYaml ( YAML::Emitter& )
const override;
112 #endif // __ROSEE_ACTIONPRIMITIVE_H
unsigned int nFingersInvolved
Virtual class, Base of all the primitive actions.
unsigned int getMaxStoredActionStates() const
std::map< std::string, unsigned int > JointsInvolvedCount
The map to describe, how many times a joint is set by the action.
void setJointsInvolvedCount(ROSEE::JointsInvolvedCount jointsInvolvedCount)
The pure virtual class representing an Action.
std::shared_ptr< const ActionPrimitive > ConstPtr
std::shared_ptr< ActionPrimitive > Ptr
ActionPrimitive(std::string name, unsigned int maxStoredActionStates, Type type)
Type
Enum useful to discriminate each primitive action when, for example, we want to parse a file if you ...
JointsInvolvedCount jointsInvolvedCount
const unsigned int maxStoredActionStates
virtual void emitYaml(YAML::Emitter &) const override
Function to fill the argument passed with info about the action.
virtual ~ActionPrimitive()
unsigned int getnFingersInvolved() const
virtual std::set< std::string > getKeyElements() const =0
Depending on the primitive, we can use different "keys" to take info from yaml file when parsing for ...
Type getPrimitiveType() const