GetPcl.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-srs_common/doc_stacks/2013-11-27_14-12-02.710421/srs_common/srs_object_database_msgs/srv/GetPcl.srv */
00002 #ifndef SRS_OBJECT_DATABASE_MSGS_SERVICE_GETPCL_H
00003 #define SRS_OBJECT_DATABASE_MSGS_SERVICE_GETPCL_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 
00020 
00021 #include "srs_object_database_msgs/pcl.h"
00022 
00023 namespace srs_object_database_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct GetPclRequest_ {
00027   typedef GetPclRequest_<ContainerAllocator> Type;
00028 
00029   GetPclRequest_()
00030   : model_ids()
00031   {
00032   }
00033 
00034   GetPclRequest_(const ContainerAllocator& _alloc)
00035   : model_ids(_alloc)
00036   {
00037   }
00038 
00039   typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  _model_ids_type;
00040   std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  model_ids;
00041 
00042 
00043   typedef boost::shared_ptr< ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct GetPclRequest
00047 typedef  ::srs_object_database_msgs::GetPclRequest_<std::allocator<void> > GetPclRequest;
00048 
00049 typedef boost::shared_ptr< ::srs_object_database_msgs::GetPclRequest> GetPclRequestPtr;
00050 typedef boost::shared_ptr< ::srs_object_database_msgs::GetPclRequest const> GetPclRequestConstPtr;
00051 
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct GetPclResponse_ {
00056   typedef GetPclResponse_<ContainerAllocator> Type;
00057 
00058   GetPclResponse_()
00059   : return_response()
00060   , msg()
00061   {
00062   }
00063 
00064   GetPclResponse_(const ContainerAllocator& _alloc)
00065   : return_response(_alloc)
00066   , msg(_alloc)
00067   {
00068   }
00069 
00070   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _return_response_type;
00071   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  return_response;
00072 
00073   typedef std::vector< ::srs_object_database_msgs::pcl_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::pcl_<ContainerAllocator> >::other >  _msg_type;
00074   std::vector< ::srs_object_database_msgs::pcl_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_object_database_msgs::pcl_<ContainerAllocator> >::other >  msg;
00075 
00076 
00077   typedef boost::shared_ptr< ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct GetPclResponse
00081 typedef  ::srs_object_database_msgs::GetPclResponse_<std::allocator<void> > GetPclResponse;
00082 
00083 typedef boost::shared_ptr< ::srs_object_database_msgs::GetPclResponse> GetPclResponsePtr;
00084 typedef boost::shared_ptr< ::srs_object_database_msgs::GetPclResponse const> GetPclResponseConstPtr;
00085 
00086 
00087 struct GetPcl
00088 {
00089 
00090 typedef GetPclRequest Request;
00091 typedef GetPclResponse Response;
00092 Request request;
00093 Response response;
00094 
00095 typedef Request RequestType;
00096 typedef Response ResponseType;
00097 }; // struct GetPcl
00098 } // namespace srs_object_database_msgs
00099 
00100 namespace ros
00101 {
00102 namespace message_traits
00103 {
00104 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator> > : public TrueType {};
00105 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator>  const> : public TrueType {};
00106 template<class ContainerAllocator>
00107 struct MD5Sum< ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "80afe6caba30c992d2e7ff6ff0e0d51e";
00111   }
00112 
00113   static const char* value(const  ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator> &) { return value(); } 
00114   static const uint64_t static_value1 = 0x80afe6caba30c992ULL;
00115   static const uint64_t static_value2 = 0xd2e7ff6ff0e0d51eULL;
00116 };
00117 
00118 template<class ContainerAllocator>
00119 struct DataType< ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "srs_object_database_msgs/GetPclRequest";
00123   }
00124 
00125   static const char* value(const  ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator> &) { return value(); } 
00126 };
00127 
00128 template<class ContainerAllocator>
00129 struct Definition< ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator> > {
00130   static const char* value() 
00131   {
00132     return "\n\
00133 \n\
00134 int32[] model_ids\n\
00135 \n\
00136 \n\
00137 ";
00138   }
00139 
00140   static const char* value(const  ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator> &) { return value(); } 
00141 };
00142 
00143 } // namespace message_traits
00144 } // namespace ros
00145 
00146 
00147 namespace ros
00148 {
00149 namespace message_traits
00150 {
00151 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator> > : public TrueType {};
00152 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator>  const> : public TrueType {};
00153 template<class ContainerAllocator>
00154 struct MD5Sum< ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator> > {
00155   static const char* value() 
00156   {
00157     return "62e77027d0abe4e41f991a54bd0bcc09";
00158   }
00159 
00160   static const char* value(const  ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator> &) { return value(); } 
00161   static const uint64_t static_value1 = 0x62e77027d0abe4e4ULL;
00162   static const uint64_t static_value2 = 0x1f991a54bd0bcc09ULL;
00163 };
00164 
00165 template<class ContainerAllocator>
00166 struct DataType< ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator> > {
00167   static const char* value() 
00168   {
00169     return "srs_object_database_msgs/GetPclResponse";
00170   }
00171 
00172   static const char* value(const  ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator> &) { return value(); } 
00173 };
00174 
00175 template<class ContainerAllocator>
00176 struct Definition< ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator> > {
00177   static const char* value() 
00178   {
00179     return "\n\
00180 \n\
00181 string return_response\n\
00182 \n\
00183 srs_object_database_msgs/pcl[] msg\n\
00184 \n\
00185 \n\
00186 ================================================================================\n\
00187 MSG: srs_object_database_msgs/pcl\n\
00188 int32 objectId\n\
00189 sensor_msgs/PointCloud2 pcl\n\
00190 \n\
00191 ================================================================================\n\
00192 MSG: sensor_msgs/PointCloud2\n\
00193 # This message holds a collection of N-dimensional points, which may\n\
00194 # contain additional information such as normals, intensity, etc. The\n\
00195 # point data is stored as a binary blob, its layout described by the\n\
00196 # contents of the \"fields\" array.\n\
00197 \n\
00198 # The point cloud data may be organized 2d (image-like) or 1d\n\
00199 # (unordered). Point clouds organized as 2d images may be produced by\n\
00200 # camera depth sensors such as stereo or time-of-flight.\n\
00201 \n\
00202 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00203 # points).\n\
00204 Header header\n\
00205 \n\
00206 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00207 # 1 and width is the length of the point cloud.\n\
00208 uint32 height\n\
00209 uint32 width\n\
00210 \n\
00211 # Describes the channels and their layout in the binary data blob.\n\
00212 PointField[] fields\n\
00213 \n\
00214 bool    is_bigendian # Is this data bigendian?\n\
00215 uint32  point_step   # Length of a point in bytes\n\
00216 uint32  row_step     # Length of a row in bytes\n\
00217 uint8[] data         # Actual point data, size is (row_step*height)\n\
00218 \n\
00219 bool is_dense        # True if there are no invalid points\n\
00220 \n\
00221 ================================================================================\n\
00222 MSG: std_msgs/Header\n\
00223 # Standard metadata for higher-level stamped data types.\n\
00224 # This is generally used to communicate timestamped data \n\
00225 # in a particular coordinate frame.\n\
00226 # \n\
00227 # sequence ID: consecutively increasing ID \n\
00228 uint32 seq\n\
00229 #Two-integer timestamp that is expressed as:\n\
00230 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00231 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00232 # time-handling sugar is provided by the client library\n\
00233 time stamp\n\
00234 #Frame this data is associated with\n\
00235 # 0: no frame\n\
00236 # 1: global frame\n\
00237 string frame_id\n\
00238 \n\
00239 ================================================================================\n\
00240 MSG: sensor_msgs/PointField\n\
00241 # This message holds the description of one point entry in the\n\
00242 # PointCloud2 message format.\n\
00243 uint8 INT8    = 1\n\
00244 uint8 UINT8   = 2\n\
00245 uint8 INT16   = 3\n\
00246 uint8 UINT16  = 4\n\
00247 uint8 INT32   = 5\n\
00248 uint8 UINT32  = 6\n\
00249 uint8 FLOAT32 = 7\n\
00250 uint8 FLOAT64 = 8\n\
00251 \n\
00252 string name      # Name of field\n\
00253 uint32 offset    # Offset from start of point struct\n\
00254 uint8  datatype  # Datatype enumeration, see above\n\
00255 uint32 count     # How many elements in the field\n\
00256 \n\
00257 ";
00258   }
00259 
00260   static const char* value(const  ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator> &) { return value(); } 
00261 };
00262 
00263 } // namespace message_traits
00264 } // namespace ros
00265 
00266 namespace ros
00267 {
00268 namespace serialization
00269 {
00270 
00271 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::GetPclRequest_<ContainerAllocator> >
00272 {
00273   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00274   {
00275     stream.next(m.model_ids);
00276   }
00277 
00278   ROS_DECLARE_ALLINONE_SERIALIZER;
00279 }; // struct GetPclRequest_
00280 } // namespace serialization
00281 } // namespace ros
00282 
00283 
00284 namespace ros
00285 {
00286 namespace serialization
00287 {
00288 
00289 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::GetPclResponse_<ContainerAllocator> >
00290 {
00291   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00292   {
00293     stream.next(m.return_response);
00294     stream.next(m.msg);
00295   }
00296 
00297   ROS_DECLARE_ALLINONE_SERIALIZER;
00298 }; // struct GetPclResponse_
00299 } // namespace serialization
00300 } // namespace ros
00301 
00302 namespace ros
00303 {
00304 namespace service_traits
00305 {
00306 template<>
00307 struct MD5Sum<srs_object_database_msgs::GetPcl> {
00308   static const char* value() 
00309   {
00310     return "596db51a5c261da80fedfc7706fc8019";
00311   }
00312 
00313   static const char* value(const srs_object_database_msgs::GetPcl&) { return value(); } 
00314 };
00315 
00316 template<>
00317 struct DataType<srs_object_database_msgs::GetPcl> {
00318   static const char* value() 
00319   {
00320     return "srs_object_database_msgs/GetPcl";
00321   }
00322 
00323   static const char* value(const srs_object_database_msgs::GetPcl&) { return value(); } 
00324 };
00325 
00326 template<class ContainerAllocator>
00327 struct MD5Sum<srs_object_database_msgs::GetPclRequest_<ContainerAllocator> > {
00328   static const char* value() 
00329   {
00330     return "596db51a5c261da80fedfc7706fc8019";
00331   }
00332 
00333   static const char* value(const srs_object_database_msgs::GetPclRequest_<ContainerAllocator> &) { return value(); } 
00334 };
00335 
00336 template<class ContainerAllocator>
00337 struct DataType<srs_object_database_msgs::GetPclRequest_<ContainerAllocator> > {
00338   static const char* value() 
00339   {
00340     return "srs_object_database_msgs/GetPcl";
00341   }
00342 
00343   static const char* value(const srs_object_database_msgs::GetPclRequest_<ContainerAllocator> &) { return value(); } 
00344 };
00345 
00346 template<class ContainerAllocator>
00347 struct MD5Sum<srs_object_database_msgs::GetPclResponse_<ContainerAllocator> > {
00348   static const char* value() 
00349   {
00350     return "596db51a5c261da80fedfc7706fc8019";
00351   }
00352 
00353   static const char* value(const srs_object_database_msgs::GetPclResponse_<ContainerAllocator> &) { return value(); } 
00354 };
00355 
00356 template<class ContainerAllocator>
00357 struct DataType<srs_object_database_msgs::GetPclResponse_<ContainerAllocator> > {
00358   static const char* value() 
00359   {
00360     return "srs_object_database_msgs/GetPcl";
00361   }
00362 
00363   static const char* value(const srs_object_database_msgs::GetPclResponse_<ContainerAllocator> &) { return value(); } 
00364 };
00365 
00366 } // namespace service_traits
00367 } // namespace ros
00368 
00369 #endif // SRS_OBJECT_DATABASE_MSGS_SERVICE_GETPCL_H
00370 


srs_object_database_msgs
Author(s): Georg Arbeiter
autogenerated on Wed Nov 27 2013 14:14:38