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