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