SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
SControllerBase.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 /*
24  * SControllerBase.hpp
25  *
26  * Created on: Dec 29, 2010
27  *
28  * Copyright (C) 2010
29  *
30  * Author: Samir Menon <smenon@stanford.edu>
31  */
32 
33 #ifndef SCONTROLLERBASE_HPP_
34 #define SCONTROLLERBASE_HPP_
35 
36 #include <string>
37 
38 #include <scl/data_structs/SRobotParsed.hpp>
39 
40 #include <scl/data_structs/SObject.hpp>
41 #include <scl/data_structs/SRobotIO.hpp>
42 
43 #include <scl/data_structs/SGcModel.hpp>
44 
45 namespace scl
46 {
47 
48  class SControllerBase : public SObject
49  {
50  public:
52  std::string robot_name_;
53 
56 
59 
62 
65 
67  virtual ~SControllerBase();
68 
70  virtual sBool init(const std::string & arg_controller_name,
71  const SRobotParsed* arg_robot_ds,
72  SRobotIO* arg_io_data,
73  SGcModel* arg_gc_model=S_NULL);
74  };
75 
76 }
77 
78 #endif /* SCONTROLLERBASE_HPP_ */
SGcModel * gc_model_
Definition: SControllerBase.hpp:61
Definition: SRobotIO.hpp:107
virtual sBool init(const std::string &arg_controller_name, const SRobotParsed *arg_robot_ds, SRobotIO *arg_io_data, SGcModel *arg_gc_model=S_NULL)
Definition: SControllerBase.cpp:50
const SRobotParsed * robot_
Definition: SControllerBase.hpp:55
Definition: SRobotParsed.hpp:51
Definition: SGcModel.hpp:53
std::string robot_name_
Definition: SControllerBase.hpp:52
SRobotIO * io_data_
Definition: SControllerBase.hpp:58
bool sBool
Definition: DataTypes.hpp:54
Definition: SControllerBase.hpp:48
virtual ~SControllerBase()
Definition: SControllerBase.cpp:48
SControllerBase()
Definition: SControllerBase.cpp:40
Definition: SObject.hpp:43