Go to the documentation of this file.00001
00002 #ifndef PORTRAIT_ROBOT_MSGS_SERVICE_ALUBSC_NODE_INSTR_H
00003 #define PORTRAIT_ROBOT_MSGS_SERVICE_ALUBSC_NODE_INSTR_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 "sensor_msgs/Image.h"
00020
00021
00022
00023 namespace portrait_robot_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct alubsc_node_instrRequest_ {
00027 typedef alubsc_node_instrRequest_<ContainerAllocator> Type;
00028
00029 alubsc_node_instrRequest_()
00030 : abort(false)
00031 , images()
00032 {
00033 }
00034
00035 alubsc_node_instrRequest_(const ContainerAllocator& _alloc)
00036 : abort(false)
00037 , images(_alloc)
00038 {
00039 }
00040
00041 typedef uint8_t _abort_type;
00042 uint8_t abort;
00043
00044 typedef std::vector< ::sensor_msgs::Image_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::Image_<ContainerAllocator> >::other > _images_type;
00045 std::vector< ::sensor_msgs::Image_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::Image_<ContainerAllocator> >::other > images;
00046
00047
00048 typedef boost::shared_ptr< ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::portrait_robot_msgs::alubsc_node_instrRequest_<std::allocator<void> > alubsc_node_instrRequest;
00053
00054 typedef boost::shared_ptr< ::portrait_robot_msgs::alubsc_node_instrRequest> alubsc_node_instrRequestPtr;
00055 typedef boost::shared_ptr< ::portrait_robot_msgs::alubsc_node_instrRequest const> alubsc_node_instrRequestConstPtr;
00056
00057
00058 template <class ContainerAllocator>
00059 struct alubsc_node_instrResponse_ {
00060 typedef alubsc_node_instrResponse_<ContainerAllocator> Type;
00061
00062 alubsc_node_instrResponse_()
00063 : success(false)
00064 {
00065 }
00066
00067 alubsc_node_instrResponse_(const ContainerAllocator& _alloc)
00068 : success(false)
00069 {
00070 }
00071
00072 typedef uint8_t _success_type;
00073 uint8_t success;
00074
00075
00076 typedef boost::shared_ptr< ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> > Ptr;
00077 typedef boost::shared_ptr< ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> const> ConstPtr;
00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 };
00080 typedef ::portrait_robot_msgs::alubsc_node_instrResponse_<std::allocator<void> > alubsc_node_instrResponse;
00081
00082 typedef boost::shared_ptr< ::portrait_robot_msgs::alubsc_node_instrResponse> alubsc_node_instrResponsePtr;
00083 typedef boost::shared_ptr< ::portrait_robot_msgs::alubsc_node_instrResponse const> alubsc_node_instrResponseConstPtr;
00084
00085 struct alubsc_node_instr
00086 {
00087
00088 typedef alubsc_node_instrRequest Request;
00089 typedef alubsc_node_instrResponse Response;
00090 Request request;
00091 Response response;
00092
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 };
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "b7d354bce43cb752bc58448945ec710b";
00109 }
00110
00111 static const char* value(const ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0xb7d354bce43cb752ULL;
00113 static const uint64_t static_value2 = 0xbc58448945ec710bULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "portrait_robot_msgs/alubsc_node_instrRequest";
00121 }
00122
00123 static const char* value(const ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "\n\
00131 bool abort\n\
00132 sensor_msgs/Image[] images\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: sensor_msgs/Image\n\
00136 # This message contains an uncompressed image\n\
00137 # (0, 0) is at top-left corner of image\n\
00138 #\n\
00139 \n\
00140 Header header # Header timestamp should be acquisition time of image\n\
00141 # Header frame_id should be optical frame of camera\n\
00142 # origin of frame should be optical center of cameara\n\
00143 # +x should point to the right in the image\n\
00144 # +y should point down in the image\n\
00145 # +z should point into to plane of the image\n\
00146 # If the frame_id here and the frame_id of the CameraInfo\n\
00147 # message associated with the image conflict\n\
00148 # the behavior is undefined\n\
00149 \n\
00150 uint32 height # image height, that is, number of rows\n\
00151 uint32 width # image width, that is, number of columns\n\
00152 \n\
00153 # The legal values for encoding are in file src/image_encodings.cpp\n\
00154 # If you want to standardize a new string format, join\n\
00155 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00156 \n\
00157 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\
00158 # taken from the list of strings in src/image_encodings.cpp\n\
00159 \n\
00160 uint8 is_bigendian # is this data bigendian?\n\
00161 uint32 step # Full row length in bytes\n\
00162 uint8[] data # actual matrix data, size is (step * rows)\n\
00163 \n\
00164 ================================================================================\n\
00165 MSG: std_msgs/Header\n\
00166 # Standard metadata for higher-level stamped data types.\n\
00167 # This is generally used to communicate timestamped data \n\
00168 # in a particular coordinate frame.\n\
00169 # \n\
00170 # sequence ID: consecutively increasing ID \n\
00171 uint32 seq\n\
00172 #Two-integer timestamp that is expressed as:\n\
00173 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00174 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00175 # time-handling sugar is provided by the client library\n\
00176 time stamp\n\
00177 #Frame this data is associated with\n\
00178 # 0: no frame\n\
00179 # 1: global frame\n\
00180 string frame_id\n\
00181 \n\
00182 ";
00183 }
00184
00185 static const char* value(const ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> &) { return value(); }
00186 };
00187
00188 }
00189 }
00190
00191
00192 namespace ros
00193 {
00194 namespace message_traits
00195 {
00196 template<class ContainerAllocator> struct IsMessage< ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> > : public TrueType {};
00197 template<class ContainerAllocator> struct IsMessage< ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> const> : public TrueType {};
00198 template<class ContainerAllocator>
00199 struct MD5Sum< ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> > {
00200 static const char* value()
00201 {
00202 return "358e233cde0c8a8bcfea4ce193f8fc15";
00203 }
00204
00205 static const char* value(const ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> &) { return value(); }
00206 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00207 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00208 };
00209
00210 template<class ContainerAllocator>
00211 struct DataType< ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> > {
00212 static const char* value()
00213 {
00214 return "portrait_robot_msgs/alubsc_node_instrResponse";
00215 }
00216
00217 static const char* value(const ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> &) { return value(); }
00218 };
00219
00220 template<class ContainerAllocator>
00221 struct Definition< ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> > {
00222 static const char* value()
00223 {
00224 return "bool success\n\
00225 \n\
00226 \n\
00227 ";
00228 }
00229
00230 static const char* value(const ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> &) { return value(); }
00231 };
00232
00233 template<class ContainerAllocator> struct IsFixedSize< ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> > : public TrueType {};
00234 }
00235 }
00236
00237 namespace ros
00238 {
00239 namespace serialization
00240 {
00241
00242 template<class ContainerAllocator> struct Serializer< ::portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> >
00243 {
00244 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00245 {
00246 stream.next(m.abort);
00247 stream.next(m.images);
00248 }
00249
00250 ROS_DECLARE_ALLINONE_SERIALIZER;
00251 };
00252 }
00253 }
00254
00255
00256 namespace ros
00257 {
00258 namespace serialization
00259 {
00260
00261 template<class ContainerAllocator> struct Serializer< ::portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> >
00262 {
00263 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00264 {
00265 stream.next(m.success);
00266 }
00267
00268 ROS_DECLARE_ALLINONE_SERIALIZER;
00269 };
00270 }
00271 }
00272
00273 namespace ros
00274 {
00275 namespace service_traits
00276 {
00277 template<>
00278 struct MD5Sum<portrait_robot_msgs::alubsc_node_instr> {
00279 static const char* value()
00280 {
00281 return "b946a546435de022bc4314169168e0bc";
00282 }
00283
00284 static const char* value(const portrait_robot_msgs::alubsc_node_instr&) { return value(); }
00285 };
00286
00287 template<>
00288 struct DataType<portrait_robot_msgs::alubsc_node_instr> {
00289 static const char* value()
00290 {
00291 return "portrait_robot_msgs/alubsc_node_instr";
00292 }
00293
00294 static const char* value(const portrait_robot_msgs::alubsc_node_instr&) { return value(); }
00295 };
00296
00297 template<class ContainerAllocator>
00298 struct MD5Sum<portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> > {
00299 static const char* value()
00300 {
00301 return "b946a546435de022bc4314169168e0bc";
00302 }
00303
00304 static const char* value(const portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> &) { return value(); }
00305 };
00306
00307 template<class ContainerAllocator>
00308 struct DataType<portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> > {
00309 static const char* value()
00310 {
00311 return "portrait_robot_msgs/alubsc_node_instr";
00312 }
00313
00314 static const char* value(const portrait_robot_msgs::alubsc_node_instrRequest_<ContainerAllocator> &) { return value(); }
00315 };
00316
00317 template<class ContainerAllocator>
00318 struct MD5Sum<portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> > {
00319 static const char* value()
00320 {
00321 return "b946a546435de022bc4314169168e0bc";
00322 }
00323
00324 static const char* value(const portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> &) { return value(); }
00325 };
00326
00327 template<class ContainerAllocator>
00328 struct DataType<portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> > {
00329 static const char* value()
00330 {
00331 return "portrait_robot_msgs/alubsc_node_instr";
00332 }
00333
00334 static const char* value(const portrait_robot_msgs::alubsc_node_instrResponse_<ContainerAllocator> &) { return value(); }
00335 };
00336
00337 }
00338 }
00339
00340 #endif // PORTRAIT_ROBOT_MSGS_SERVICE_ALUBSC_NODE_INSTR_H
00341