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 2011 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 
44  typedef boost::shared_ptr<Sensor> SensorPtr;
45 
48  typedef boost::shared_ptr<RaySensor> RaySensorPtr;
49 
52  typedef boost::shared_ptr<CameraSensor> CameraSensorPtr;
53 
56  typedef boost::shared_ptr<DepthCameraSensor> DepthCameraSensorPtr;
57 
60  typedef boost::shared_ptr<ContactSensor> ContactSensorPtr;
61 
64  typedef boost::shared_ptr<GpuRaySensor> GpuRaySensorPtr;
65 
68  typedef boost::shared_ptr<RFIDSensor> RFIDSensorPtr;
69 
72  typedef boost::shared_ptr<RFIDTag> RFIDTagPtr;
73 
76  typedef std::vector<SensorPtr> Sensor_V;
77 
80  typedef std::vector<RaySensorPtr> RaySensor_V;
81 
84  typedef std::vector<CameraSensorPtr> CameraSensor_V;
85 
88  typedef std::vector<DepthCameraSensorPtr> DepthCameraSensor_V;
89 
92  typedef std::vector<ContactSensorPtr> ContactSensor_V;
93 
96  typedef std::vector<GpuRaySensorPtr> GpuRaySensor_V;
97 
100  typedef std::vector<RFIDSensor> RFIDSensor_V;
101 
104  typedef std::vector<RFIDTag> RFIDTag_V;
106  }
107 }
108 #endif