humoto
configurable_optimization_problem.h
Go to the documentation of this file.
1 /**
2  @file
3  @author Jan Michalczyk
4  @author Alexander Sherikov
5  @copyright 2014-2017 INRIA. Licensed under the Apache License, Version 2.0.
6  (see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
7 
8  @brief
9 */
10 
11 #pragma once
12 
13 
14 namespace humoto
15 {
16  namespace wpg04
17  {
18  /**
19  * @brief Class representing the hierarchy of the problem
20  */
23  {
24  protected:
25  /**
26  * @brief Fill map with all pointers to all tasks for given module
27  */
28  humoto::TaskSharedPointer getTask(const std::string &string_id) const
29  {
30  if (string_id == "TaskCoMVelocity")
31  {
33  }
34  if (string_id == "TaskCoPPosition")
35  {
37  }
38  if (string_id == "TaskCoPVelocity")
39  {
41  }
42  if (string_id == "TaskFootstepBounds")
43  {
45  }
46  if (string_id == "TaskCoPBounds")
47  {
49  }
50  if (string_id == "TaskTerminalConstraint")
51  {
53  }
54 
56  }
57  };
58  }
59 }
#define HUMOTO_LOCAL
Definition: export_import.h:26
virtual humoto::TaskSharedPointer getTask(const std::string &string_id) const
Fill map with all pointers to all tasks for given module.
boost::shared_ptr< humoto::TaskBase > TaskSharedPointer
Definition: task.h:584
The root namespace of HuMoTo.
Definition: config.h:12
Class representing the hierarchy of the problem.
humoto::TaskSharedPointer getTask(const std::string &string_id) const
Fill map with all pointers to all tasks for given module.
Class representing the hierarchy of the problem.