Go to the documentation of this file.
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
JointsInvolvedCount jointsInvolvedCount
std::shared_ptr< ActionPrimitive > Ptr
ActionPrimitive(std::string name, unsigned int maxStoredActionStates, Type type)
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. An ActionPrimitive and an ActionCom...
Type getPrimitiveType() const
The pure virtual class representing an Action. It has members that are in common to all derived class...
unsigned int nFingersInvolved
@ SingleJointMultipleTips
unsigned int getnFingersInvolved() const
virtual void emitYaml(YAML::Emitter &) const override
Function to fill the argument passed with info about the action. Pure virtual because each derived cl...
virtual ~ActionPrimitive()
void setJointsInvolvedCount(ROSEE::JointsInvolvedCount jointsInvolvedCount)
Virtual class, Base of all the primitive actions. It has some implemented functions that a derived cl...
std::shared_ptr< const ActionPrimitive > ConstPtr
Type
Enum useful to discriminate each primitive action when, for example, we want to parse a file @remind ...
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 ...
const unsigned int maxStoredActionStates
end-effector
Author(s): Luca Muratore
, Davide Torielli , Liana Bertoni
autogenerated on Sat Dec 14 2024 03:49:26