SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
SControllerMultiTask.hpp
1 /* This file is part of scl, a control and simulation library
2 for robots and biomechanical models.
3 
4 scl is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 3 of the License, or (at your option) any later version.
8 
9 Alternatively, you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of
12 the License, or (at your option) any later version.
13 
14 scl is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public
20 License and a copy of the GNU General Public License along with
21 scl. If not, see <http://www.gnu.org/licenses/>.
22 */
23 /* \file SControllerMultiTask.hpp
24  *
25  * Created on: May 5, 2010
26  *
27  * Copyright (C) 2010
28  *
29  * Author: Samir Menon <smenon@stanford.edu>
30  */
31 
32 #ifndef SCONTROLLERMULTITASK_HPP_
33 #define SCONTROLLERMULTITASK_HPP_
34 
35 #include <vector>
36 #include <list>
37 #include <string>
38 
39 #include <scl/data_structs/SObject.hpp>
40 
41 #include <scl/control/data_structs/SControllerBase.hpp>
42 #include <scl/control/task/data_structs/SServo.hpp>
43 #include <scl/control/task/data_structs/STaskBase.hpp>
44 #include <scl/control/task/data_structs/SNonControlTaskBase.hpp>
45 
46 #include <sutil/CMappedList.hpp>
47 #include <sutil/CMappedMultiLevelList.hpp>
48 
49 namespace scl
50 {
51 
55  {
56  public:
59 
66 
71 
82 
85  virtual ~SControllerMultiTask();
86 
88  virtual sBool init(const std::string & arg_ctrl_name,
89  const SRobotParsed* arg_robot_ds,
90  SRobotIO* arg_io_data,
91  SGcModel* arg_gc_model=S_NULL);
92  };
93 }
94 
95 #endif /* SCONTROLLERMULTITASK_HPP_ */
Definition: SRobotIO.hpp:107
Definition: SControllerMultiTask.hpp:54
Definition: SRobotParsed.hpp:51
Definition: SGcModel.hpp:53
sutil::CMappedMultiLevelList< std::string, STaskBase * > tasks_
Definition: SControllerMultiTask.hpp:65
Definition: CMappedList.hpp:85
SServo servo_
Definition: SControllerMultiTask.hpp:58
SControllerMultiTask()
Definition: SControllerMultiTask.cpp:46
bool sBool
Definition: DataTypes.hpp:54
Definition: SControllerBase.hpp:48
Definition: CMappedMultiLevelList.hpp:48
virtual ~SControllerMultiTask()
Definition: SControllerMultiTask.cpp:51
virtual sBool init(const std::string &arg_ctrl_name, const SRobotParsed *arg_robot_ds, SRobotIO *arg_io_data, SGcModel *arg_gc_model=S_NULL)
Definition: SControllerMultiTask.cpp:55
Definition: SServo.hpp:61
sutil::CMappedList< std::string, SNonControlTaskBase * > tasks_non_ctrl_
Definition: SControllerMultiTask.hpp:70