All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SensorTypes.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2012 Nate Koenig
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 #ifndef _SENSORTYPES_HH_
18 #define _SENSORTYPES_HH_
19 
20 #include <vector>
21 #include <boost/shared_ptr.hpp>
22 
26 namespace gazebo
27 {
30  namespace sensors
31  {
32  class Sensor;
33  class RaySensor;
34  class CameraSensor;
35  class DepthCameraSensor;
36  class ContactSensor;
37  class GpuRaySensor;
38  class RFIDSensor;
39  class RFIDTag;
40 
43  typedef boost::shared_ptr<Sensor> SensorPtr;
44 
47  typedef boost::shared_ptr<RaySensor> RaySensorPtr;
48 
51  typedef boost::shared_ptr<CameraSensor> CameraSensorPtr;
52 
55  typedef boost::shared_ptr<DepthCameraSensor> DepthCameraSensorPtr;
56 
59  typedef boost::shared_ptr<ContactSensor> ContactSensorPtr;
60 
63  typedef boost::shared_ptr<GpuRaySensor> GpuRaySensorPtr;
64 
67  typedef boost::shared_ptr<RFIDSensor> RFIDSensorPtr;
68 
71  typedef boost::shared_ptr<RFIDTag> RFIDTagPtr;
72 
75  typedef std::vector<SensorPtr> Sensor_V;
76 
79  typedef std::vector<RaySensorPtr> RaySensor_V;
80 
83  typedef std::vector<CameraSensorPtr> CameraSensor_V;
84 
87  typedef std::vector<DepthCameraSensorPtr> DepthCameraSensor_V;
88 
91  typedef std::vector<ContactSensorPtr> ContactSensor_V;
92 
95  typedef std::vector<GpuRaySensorPtr> GpuRaySensor_V;
96 
99  typedef std::vector<RFIDSensor> RFIDSensor_V;
100 
103  typedef std::vector<RFIDTag> RFIDTag_V;
105  }
106 }
107 #endif