17 #ifndef ROSEE_ACTIONGENERIC_H 18 #define ROSEE_ACTIONGENERIC_H 21 #include <yaml-cpp/yaml.h> 35 typedef std::shared_ptr<ActionGeneric>
Ptr;
36 typedef std::shared_ptr<const ActionGeneric>
ConstPtr;
80 virtual void emitYaml ( YAML::Emitter& out )
const override;
85 virtual bool fillFromYaml ( YAML::const_iterator yamlIt )
override;
101 #endif // ROSEE_ACTIONGENERIC_H std::map< std::string, std::vector< double > > JointPos
The map to describe the position of all actuated joints.
std::map< std::string, unsigned int > JointsInvolvedCount
The map to describe, how many times a joint is set by the action.
The pure virtual class representing an Action.
std::vector< ROSEE::JointPos > getAllJointPos() const override
Get the joint position related to this action, overriden from Action Necessary to not make this class...
std::shared_ptr< ActionGeneric > Ptr
std::shared_ptr< const ActionGeneric > ConstPtr
Class to handle a generic, simple action.
virtual void emitYaml(YAML::Emitter &out) const override
Function to fill the argument passed with info about the action.
JointPos getJointPos() const override
Get the joint position related to this action, overriden from Action.
ActionGeneric()
default costructor.
std::set< std::string > fingersInvolved
virtual bool fillFromYaml(YAML::const_iterator yamlIt) override
function to fill members of the Action with infos taken from yaml files