7 #ifndef DYNAMIC_GRAPH_COMMAND_H 8 #define DYNAMIC_GRAPH_COMMAND_H 10 #include "dynamic-graph/dynamic-graph-api.h" 11 #include "dynamic-graph/value.h" 41 Command(
Entity &entity,
const std::vector<Value::Type> &valueTypes,
42 const std::string &docstring);
44 const std::vector<Value::Type> &valueTypes()
const;
46 void setParameterValues(
const std::vector<Value> &values);
48 const std::vector<Value> &getParameterValues()
const;
54 std::string getDocstring()
const;
58 virtual Value doExecute() = 0;
62 std::vector<Value::Type> valueTypeVector_;
63 std::vector<Value> valueVector_;
64 std::string docstring_;
67 static const std::vector<Value::Type> EMPTY_ARG;
72 #endif // DYNAMIC_GRAPH_COMMAND_H This class represents an entity, i.e. a generic computational unit that provides input and output sig...
This class implements a variant design pattern to handle basic types in Command.