7 #ifndef DYNAMIC_GRAPH_COMMAND_H
8 #define DYNAMIC_GRAPH_COMMAND_H
12 #include "dynamic-graph/dynamic-graph-api.h"
13 #include "dynamic-graph/value.h"
42 Command(
Entity &entity,
const std::vector<Value::Type> &valueTypes,
43 const std::string &docstring);
45 const std::vector<Value::Type> &valueTypes()
const;
47 void setParameterValues(
const std::vector<Value> &values);
49 const std::vector<Value> &getParameterValues()
const;
55 std::string getDocstring()
const;
59 virtual Value doExecute() = 0;
63 std::vector<Value::Type> valueTypeVector_;
64 std::vector<Value> valueVector_;
65 std::string docstring_;
68 static const std::vector<Value::Type> EMPTY_ARG;
73 #endif // DYNAMIC_GRAPH_COMMAND_H