File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -32,31 +32,6 @@ namespace dynamicgraph { namespace sot {
32
32
using ::dynamicgraph::command::Command;
33
33
using ::dynamicgraph::command::Value;
34
34
35
- // Command AddFeature
36
- class AddFeature : public Command
37
- {
38
- public:
39
- virtual ~AddFeature () {}
40
- // / Create command and store it in Entity
41
- // / \param entity instance of Entity owning this command
42
- // / \param docstring documentation of the command
43
- AddFeature (Task& entity, const std::string& docstring) :
44
- Command (entity, boost::assign::list_of(Value::STRING), docstring)
45
- {
46
- }
47
- virtual Value doExecute ()
48
- {
49
- Task& task = static_cast <Task&>(owner ());
50
- std::vector<Value> values = getParameterValues ();
51
- std::string featureName = values[0 ].value ();
52
- FeatureAbstract& feature =
53
- PoolStorage::getInstance ()->getFeature (featureName);
54
- task.addFeature (feature);
55
- // return void
56
- return Value ();
57
- }
58
- }; // class AddFeature
59
-
60
35
// Command ListFeatures
61
36
class ListFeatures : public Command
62
37
{
You can’t perform that action at this time.
0 commit comments