ReadPlumeSim.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-isr-uc-ros-pkg/doc_stacks/2014-01-06_11-21-59.047934/simulator_plumesim/plumesim/srv/ReadPlumeSim.srv */
00002 #ifndef PLUMESIM_SERVICE_READPLUMESIM_H
00003 #define PLUMESIM_SERVICE_READPLUMESIM_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 #include "ros/service_traits.h"
00018 
00019 #include "nav_msgs/Odometry.h"
00020 
00021 
00022 #include "lse_sensor_msgs/Nostril.h"
00023 
00024 namespace plumesim
00025 {
00026 template <class ContainerAllocator>
00027 struct ReadPlumeSimRequest_ {
00028   typedef ReadPlumeSimRequest_<ContainerAllocator> Type;
00029 
00030   ReadPlumeSimRequest_()
00031   : odom()
00032   {
00033   }
00034 
00035   ReadPlumeSimRequest_(const ContainerAllocator& _alloc)
00036   : odom(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::nav_msgs::Odometry_<ContainerAllocator>  _odom_type;
00041    ::nav_msgs::Odometry_<ContainerAllocator>  odom;
00042 
00043 
00044   typedef boost::shared_ptr< ::plumesim::ReadPlumeSimRequest_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::plumesim::ReadPlumeSimRequest_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct ReadPlumeSimRequest
00048 typedef  ::plumesim::ReadPlumeSimRequest_<std::allocator<void> > ReadPlumeSimRequest;
00049 
00050 typedef boost::shared_ptr< ::plumesim::ReadPlumeSimRequest> ReadPlumeSimRequestPtr;
00051 typedef boost::shared_ptr< ::plumesim::ReadPlumeSimRequest const> ReadPlumeSimRequestConstPtr;
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct ReadPlumeSimResponse_ {
00056   typedef ReadPlumeSimResponse_<ContainerAllocator> Type;
00057 
00058   ReadPlumeSimResponse_()
00059   : nostril()
00060   {
00061   }
00062 
00063   ReadPlumeSimResponse_(const ContainerAllocator& _alloc)
00064   : nostril(_alloc)
00065   {
00066   }
00067 
00068   typedef  ::lse_sensor_msgs::Nostril_<ContainerAllocator>  _nostril_type;
00069    ::lse_sensor_msgs::Nostril_<ContainerAllocator>  nostril;
00070 
00071 
00072   typedef boost::shared_ptr< ::plumesim::ReadPlumeSimResponse_<ContainerAllocator> > Ptr;
00073   typedef boost::shared_ptr< ::plumesim::ReadPlumeSimResponse_<ContainerAllocator>  const> ConstPtr;
00074   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 }; // struct ReadPlumeSimResponse
00076 typedef  ::plumesim::ReadPlumeSimResponse_<std::allocator<void> > ReadPlumeSimResponse;
00077 
00078 typedef boost::shared_ptr< ::plumesim::ReadPlumeSimResponse> ReadPlumeSimResponsePtr;
00079 typedef boost::shared_ptr< ::plumesim::ReadPlumeSimResponse const> ReadPlumeSimResponseConstPtr;
00080 
00081 struct ReadPlumeSim
00082 {
00083 
00084 typedef ReadPlumeSimRequest Request;
00085 typedef ReadPlumeSimResponse Response;
00086 Request request;
00087 Response response;
00088 
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 }; // struct ReadPlumeSim
00092 } // namespace plumesim
00093 
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::plumesim::ReadPlumeSimRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::plumesim::ReadPlumeSimRequest_<ContainerAllocator>  const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::plumesim::ReadPlumeSimRequest_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "75d9701e058ed9a7608ba3dbc16b5b7e";
00105   }
00106 
00107   static const char* value(const  ::plumesim::ReadPlumeSimRequest_<ContainerAllocator> &) { return value(); } 
00108   static const uint64_t static_value1 = 0x75d9701e058ed9a7ULL;
00109   static const uint64_t static_value2 = 0x608ba3dbc16b5b7eULL;
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct DataType< ::plumesim::ReadPlumeSimRequest_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "plumesim/ReadPlumeSimRequest";
00117   }
00118 
00119   static const char* value(const  ::plumesim::ReadPlumeSimRequest_<ContainerAllocator> &) { return value(); } 
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct Definition< ::plumesim::ReadPlumeSimRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "nav_msgs/Odometry odom\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: nav_msgs/Odometry\n\
00130 # This represents an estimate of a position and velocity in free space.  \n\
00131 # The pose in this message should be specified in the coordinate frame given by header.frame_id.\n\
00132 # The twist in this message should be specified in the coordinate frame given by the child_frame_id\n\
00133 Header header\n\
00134 string child_frame_id\n\
00135 geometry_msgs/PoseWithCovariance pose\n\
00136 geometry_msgs/TwistWithCovariance twist\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: std_msgs/Header\n\
00140 # Standard metadata for higher-level stamped data types.\n\
00141 # This is generally used to communicate timestamped data \n\
00142 # in a particular coordinate frame.\n\
00143 # \n\
00144 # sequence ID: consecutively increasing ID \n\
00145 uint32 seq\n\
00146 #Two-integer timestamp that is expressed as:\n\
00147 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00148 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00149 # time-handling sugar is provided by the client library\n\
00150 time stamp\n\
00151 #Frame this data is associated with\n\
00152 # 0: no frame\n\
00153 # 1: global frame\n\
00154 string frame_id\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: geometry_msgs/PoseWithCovariance\n\
00158 # This represents a pose in free space with uncertainty.\n\
00159 \n\
00160 Pose pose\n\
00161 \n\
00162 # Row-major representation of the 6x6 covariance matrix\n\
00163 # The orientation parameters use a fixed-axis representation.\n\
00164 # In order, the parameters are:\n\
00165 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00166 float64[36] covariance\n\
00167 \n\
00168 ================================================================================\n\
00169 MSG: geometry_msgs/Pose\n\
00170 # A representation of pose in free space, composed of postion and orientation. \n\
00171 Point position\n\
00172 Quaternion orientation\n\
00173 \n\
00174 ================================================================================\n\
00175 MSG: geometry_msgs/Point\n\
00176 # This contains the position of a point in free space\n\
00177 float64 x\n\
00178 float64 y\n\
00179 float64 z\n\
00180 \n\
00181 ================================================================================\n\
00182 MSG: geometry_msgs/Quaternion\n\
00183 # This represents an orientation in free space in quaternion form.\n\
00184 \n\
00185 float64 x\n\
00186 float64 y\n\
00187 float64 z\n\
00188 float64 w\n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: geometry_msgs/TwistWithCovariance\n\
00192 # This expresses velocity in free space with uncertianty.\n\
00193 \n\
00194 Twist twist\n\
00195 \n\
00196 # Row-major representation of the 6x6 covariance matrix\n\
00197 # The orientation parameters use a fixed-axis representation.\n\
00198 # In order, the parameters are:\n\
00199 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00200 float64[36] covariance\n\
00201 \n\
00202 ================================================================================\n\
00203 MSG: geometry_msgs/Twist\n\
00204 # This expresses velocity in free space broken into it's linear and angular parts. \n\
00205 Vector3  linear\n\
00206 Vector3  angular\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: geometry_msgs/Vector3\n\
00210 # This represents a vector in free space. \n\
00211 \n\
00212 float64 x\n\
00213 float64 y\n\
00214 float64 z\n\
00215 ";
00216   }
00217 
00218   static const char* value(const  ::plumesim::ReadPlumeSimRequest_<ContainerAllocator> &) { return value(); } 
00219 };
00220 
00221 } // namespace message_traits
00222 } // namespace ros
00223 
00224 
00225 namespace ros
00226 {
00227 namespace message_traits
00228 {
00229 template<class ContainerAllocator> struct IsMessage< ::plumesim::ReadPlumeSimResponse_<ContainerAllocator> > : public TrueType {};
00230 template<class ContainerAllocator> struct IsMessage< ::plumesim::ReadPlumeSimResponse_<ContainerAllocator>  const> : public TrueType {};
00231 template<class ContainerAllocator>
00232 struct MD5Sum< ::plumesim::ReadPlumeSimResponse_<ContainerAllocator> > {
00233   static const char* value() 
00234   {
00235     return "00e4f5cde9687a2123c63ffe6a52373c";
00236   }
00237 
00238   static const char* value(const  ::plumesim::ReadPlumeSimResponse_<ContainerAllocator> &) { return value(); } 
00239   static const uint64_t static_value1 = 0x00e4f5cde9687a21ULL;
00240   static const uint64_t static_value2 = 0x23c63ffe6a52373cULL;
00241 };
00242 
00243 template<class ContainerAllocator>
00244 struct DataType< ::plumesim::ReadPlumeSimResponse_<ContainerAllocator> > {
00245   static const char* value() 
00246   {
00247     return "plumesim/ReadPlumeSimResponse";
00248   }
00249 
00250   static const char* value(const  ::plumesim::ReadPlumeSimResponse_<ContainerAllocator> &) { return value(); } 
00251 };
00252 
00253 template<class ContainerAllocator>
00254 struct Definition< ::plumesim::ReadPlumeSimResponse_<ContainerAllocator> > {
00255   static const char* value() 
00256   {
00257     return "lse_sensor_msgs/Nostril nostril\n\
00258 \n\
00259 \n\
00260 ================================================================================\n\
00261 MSG: lse_sensor_msgs/Nostril\n\
00262 # Single gas sensor msg\n\
00263 \n\
00264 Header header                   # timestamp and frame_id\n\
00265 \n\
00266 string sensor_model\n\
00267 \n\
00268 # Gases enums\n\
00269 uint8 ORGANIC_SOLVENTS=0\n\
00270 uint8 AIR_CONTAMINANTS=1\n\
00271 uint8 GENERAL_COMBUSTIBLE=3\n\
00272 uint8 NATURAL_GAS_METHANE=4\n\
00273 \n\
00274 uint8[] gas_type        # the types of gases detected by the sensor\n\
00275 \n\
00276 float32 reading                 # ppm\n\
00277 \n\
00278 float32 min_reading             # ppm\n\
00279 float32 max_reading             # ppm\n\
00280 \n\
00281 float32 clean_air               # ppm\n\
00282 \n\
00283 uint16 raw_data                 # mV\n\
00284 \n\
00285 ================================================================================\n\
00286 MSG: std_msgs/Header\n\
00287 # Standard metadata for higher-level stamped data types.\n\
00288 # This is generally used to communicate timestamped data \n\
00289 # in a particular coordinate frame.\n\
00290 # \n\
00291 # sequence ID: consecutively increasing ID \n\
00292 uint32 seq\n\
00293 #Two-integer timestamp that is expressed as:\n\
00294 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00295 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00296 # time-handling sugar is provided by the client library\n\
00297 time stamp\n\
00298 #Frame this data is associated with\n\
00299 # 0: no frame\n\
00300 # 1: global frame\n\
00301 string frame_id\n\
00302 \n\
00303 ";
00304   }
00305 
00306   static const char* value(const  ::plumesim::ReadPlumeSimResponse_<ContainerAllocator> &) { return value(); } 
00307 };
00308 
00309 } // namespace message_traits
00310 } // namespace ros
00311 
00312 namespace ros
00313 {
00314 namespace serialization
00315 {
00316 
00317 template<class ContainerAllocator> struct Serializer< ::plumesim::ReadPlumeSimRequest_<ContainerAllocator> >
00318 {
00319   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00320   {
00321     stream.next(m.odom);
00322   }
00323 
00324   ROS_DECLARE_ALLINONE_SERIALIZER;
00325 }; // struct ReadPlumeSimRequest_
00326 } // namespace serialization
00327 } // namespace ros
00328 
00329 
00330 namespace ros
00331 {
00332 namespace serialization
00333 {
00334 
00335 template<class ContainerAllocator> struct Serializer< ::plumesim::ReadPlumeSimResponse_<ContainerAllocator> >
00336 {
00337   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00338   {
00339     stream.next(m.nostril);
00340   }
00341 
00342   ROS_DECLARE_ALLINONE_SERIALIZER;
00343 }; // struct ReadPlumeSimResponse_
00344 } // namespace serialization
00345 } // namespace ros
00346 
00347 namespace ros
00348 {
00349 namespace service_traits
00350 {
00351 template<>
00352 struct MD5Sum<plumesim::ReadPlumeSim> {
00353   static const char* value() 
00354   {
00355     return "b2dd24c23e79efb882ddc2b20efde99a";
00356   }
00357 
00358   static const char* value(const plumesim::ReadPlumeSim&) { return value(); } 
00359 };
00360 
00361 template<>
00362 struct DataType<plumesim::ReadPlumeSim> {
00363   static const char* value() 
00364   {
00365     return "plumesim/ReadPlumeSim";
00366   }
00367 
00368   static const char* value(const plumesim::ReadPlumeSim&) { return value(); } 
00369 };
00370 
00371 template<class ContainerAllocator>
00372 struct MD5Sum<plumesim::ReadPlumeSimRequest_<ContainerAllocator> > {
00373   static const char* value() 
00374   {
00375     return "b2dd24c23e79efb882ddc2b20efde99a";
00376   }
00377 
00378   static const char* value(const plumesim::ReadPlumeSimRequest_<ContainerAllocator> &) { return value(); } 
00379 };
00380 
00381 template<class ContainerAllocator>
00382 struct DataType<plumesim::ReadPlumeSimRequest_<ContainerAllocator> > {
00383   static const char* value() 
00384   {
00385     return "plumesim/ReadPlumeSim";
00386   }
00387 
00388   static const char* value(const plumesim::ReadPlumeSimRequest_<ContainerAllocator> &) { return value(); } 
00389 };
00390 
00391 template<class ContainerAllocator>
00392 struct MD5Sum<plumesim::ReadPlumeSimResponse_<ContainerAllocator> > {
00393   static const char* value() 
00394   {
00395     return "b2dd24c23e79efb882ddc2b20efde99a";
00396   }
00397 
00398   static const char* value(const plumesim::ReadPlumeSimResponse_<ContainerAllocator> &) { return value(); } 
00399 };
00400 
00401 template<class ContainerAllocator>
00402 struct DataType<plumesim::ReadPlumeSimResponse_<ContainerAllocator> > {
00403   static const char* value() 
00404   {
00405     return "plumesim/ReadPlumeSim";
00406   }
00407 
00408   static const char* value(const plumesim::ReadPlumeSimResponse_<ContainerAllocator> &) { return value(); } 
00409 };
00410 
00411 } // namespace service_traits
00412 } // namespace ros
00413 
00414 #endif // PLUMESIM_SERVICE_READPLUMESIM_H
00415 


plumesim
Author(s): Gonçalo Cabrita and Pedro Sousa
autogenerated on Mon Jan 6 2014 11:27:16