SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
SUIParsed.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 SUIParsed.hpp
24  *
25  * Created on: Apr 28, 2014
26  *
27  * Copyright (C) 2014
28  *
29  * Author: Samir Menon <smenon@stanford.edu>
30  */
31 
32 #ifndef SUIPARSED_HPP_
33 #define SUIPARSED_HPP_
34 
35 #include <scl/DataTypes.hpp>
36 #include <scl/data_structs/SObject.hpp>
37 
38 #include <Eigen/Core>
39 
40 #include <vector>
41 
42 namespace scl
43 {
44 
55  class SUIParsed : public SObject
56  {
57  public:
58  // *****************************************************************************
59  // **************************** DATA CONTAINERS ********************************
60  // *****************************************************************************
62  enum EKbdKeySpec {
63  KBD_KEY_swdaeq=0, KBD_KEY_kiljou=1, KBD_KEY_gthfyr=2,
64  KBD_KEY_WSDAEQ=3, KBD_KEY_KILJOU=4, KBD_KEY_GTHFYR=5,
65  };
66 
68  class SUIKeyboardControl { public: EKbdKeySpec idx_; std::string name_, robot_name_, task_name_; };
69 
71  class SUIHapticControl { public: std::string name_, haptic_device_id_, robot_name_, task_name_; };
72 
74  class SUIWindow {
75  public:
76  std::string name_, type_;
77  sUInt window_pos_[2], window_size_[2];
78  };
80  class SUIWindowGraphical : public SUIWindow { public: std::string graphics_world_, graphics_camera_; };
81 
82  // *****************************************************************************
83  // **************************** ACTUAL DATA ************************************
84  // *****************************************************************************
85 
88 
91 
94 
97 
99  SUIParsed() : SObject(std::string("SUIParsedParsed")){}
100  };
101 
102 }
103 
104 #endif /* SUIPARSED_HPP_ */
sutil::CMappedList< std::string, SUIKeyboardControl > ui_keyboard_key_sets_
Definition: SUIParsed.hpp:87
Definition: CMappedList.hpp:85
sutil::CMappedList< std::string, SUIHapticControl > ui_haptic_devices_
Definition: SUIParsed.hpp:90
Definition: SUIParsed.hpp:68
Definition: SUIParsed.hpp:55
SUIParsed()
Definition: SUIParsed.hpp:99
Definition: SUIParsed.hpp:80
sutil::CMappedList< std::string, SUIWindowGraphical > ui_windows_graphical_
Definition: SUIParsed.hpp:96
Definition: SUIParsed.hpp:71
EKbdKeySpec
Definition: SUIParsed.hpp:62
sutil::CMappedList< std::string, SUIWindow > ui_windows_
Definition: SUIParsed.hpp:93
Definition: SObject.hpp:43
Definition: SUIParsed.hpp:74