00001
00002 #ifndef LAUNCHMAN_SERVICE_STATUSUPDATE_H
00003 #define LAUNCHMAN_SERVICE_STATUSUPDATE_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace launchman
00019 {
00020 template <class ContainerAllocator>
00021 struct StatusUpdateRequest_ : public ros::Message
00022 {
00023 typedef StatusUpdateRequest_<ContainerAllocator> Type;
00024
00025 StatusUpdateRequest_()
00026 {
00027 }
00028
00029 StatusUpdateRequest_(const ContainerAllocator& _alloc)
00030 {
00031 }
00032
00033
00034 private:
00035 static const char* __s_getDataType_() { return "launchman/StatusUpdateRequest"; }
00036 public:
00037 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00038
00039 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00040
00041 private:
00042 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00043 public:
00044 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00045
00046 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00047
00048 private:
00049 static const char* __s_getServerMD5Sum_() { return "4fe5af303955c287688e7347e9b00278"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00052
00053 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00054
00055 private:
00056 static const char* __s_getMessageDefinition_() { return "\n\
00057 "; }
00058 public:
00059 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00060
00061 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00062
00063 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00064 {
00065 ros::serialization::OStream stream(write_ptr, 1000000000);
00066 return stream.getData();
00067 }
00068
00069 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00070 {
00071 ros::serialization::IStream stream(read_ptr, 1000000000);
00072 return stream.getData();
00073 }
00074
00075 ROS_DEPRECATED virtual uint32_t serializationLength() const
00076 {
00077 uint32_t size = 0;
00078 return size;
00079 }
00080
00081 typedef boost::shared_ptr< ::launchman::StatusUpdateRequest_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::launchman::StatusUpdateRequest_<ContainerAllocator> const> ConstPtr;
00083 };
00084 typedef ::launchman::StatusUpdateRequest_<std::allocator<void> > StatusUpdateRequest;
00085
00086 typedef boost::shared_ptr< ::launchman::StatusUpdateRequest> StatusUpdateRequestPtr;
00087 typedef boost::shared_ptr< ::launchman::StatusUpdateRequest const> StatusUpdateRequestConstPtr;
00088
00089
00090 template <class ContainerAllocator>
00091 struct StatusUpdateResponse_ : public ros::Message
00092 {
00093 typedef StatusUpdateResponse_<ContainerAllocator> Type;
00094
00095 StatusUpdateResponse_()
00096 : status()
00097 {
00098 }
00099
00100 StatusUpdateResponse_(const ContainerAllocator& _alloc)
00101 : status(_alloc)
00102 {
00103 }
00104
00105 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type;
00106 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status;
00107
00108
00109 private:
00110 static const char* __s_getDataType_() { return "launchman/StatusUpdateResponse"; }
00111 public:
00112 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00113
00114 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00115
00116 private:
00117 static const char* __s_getMD5Sum_() { return "4fe5af303955c287688e7347e9b00278"; }
00118 public:
00119 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00120
00121 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00122
00123 private:
00124 static const char* __s_getServerMD5Sum_() { return "4fe5af303955c287688e7347e9b00278"; }
00125 public:
00126 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00127
00128 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00129
00130 private:
00131 static const char* __s_getMessageDefinition_() { return "string status\n\
00132 \n\
00133 "; }
00134 public:
00135 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00136
00137 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00138
00139 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00140 {
00141 ros::serialization::OStream stream(write_ptr, 1000000000);
00142 ros::serialization::serialize(stream, status);
00143 return stream.getData();
00144 }
00145
00146 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00147 {
00148 ros::serialization::IStream stream(read_ptr, 1000000000);
00149 ros::serialization::deserialize(stream, status);
00150 return stream.getData();
00151 }
00152
00153 ROS_DEPRECATED virtual uint32_t serializationLength() const
00154 {
00155 uint32_t size = 0;
00156 size += ros::serialization::serializationLength(status);
00157 return size;
00158 }
00159
00160 typedef boost::shared_ptr< ::launchman::StatusUpdateResponse_<ContainerAllocator> > Ptr;
00161 typedef boost::shared_ptr< ::launchman::StatusUpdateResponse_<ContainerAllocator> const> ConstPtr;
00162 };
00163 typedef ::launchman::StatusUpdateResponse_<std::allocator<void> > StatusUpdateResponse;
00164
00165 typedef boost::shared_ptr< ::launchman::StatusUpdateResponse> StatusUpdateResponsePtr;
00166 typedef boost::shared_ptr< ::launchman::StatusUpdateResponse const> StatusUpdateResponseConstPtr;
00167
00168 struct StatusUpdate
00169 {
00170
00171 typedef StatusUpdateRequest Request;
00172 typedef StatusUpdateResponse Response;
00173 Request request;
00174 Response response;
00175
00176 typedef Request RequestType;
00177 typedef Response ResponseType;
00178 };
00179 }
00180
00181 namespace ros
00182 {
00183 namespace message_traits
00184 {
00185 template<class ContainerAllocator>
00186 struct MD5Sum< ::launchman::StatusUpdateRequest_<ContainerAllocator> > {
00187 static const char* value()
00188 {
00189 return "d41d8cd98f00b204e9800998ecf8427e";
00190 }
00191
00192 static const char* value(const ::launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00193 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00194 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00195 };
00196
00197 template<class ContainerAllocator>
00198 struct DataType< ::launchman::StatusUpdateRequest_<ContainerAllocator> > {
00199 static const char* value()
00200 {
00201 return "launchman/StatusUpdateRequest";
00202 }
00203
00204 static const char* value(const ::launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00205 };
00206
00207 template<class ContainerAllocator>
00208 struct Definition< ::launchman::StatusUpdateRequest_<ContainerAllocator> > {
00209 static const char* value()
00210 {
00211 return "\n\
00212 ";
00213 }
00214
00215 static const char* value(const ::launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00216 };
00217
00218 template<class ContainerAllocator> struct IsFixedSize< ::launchman::StatusUpdateRequest_<ContainerAllocator> > : public TrueType {};
00219 }
00220 }
00221
00222
00223 namespace ros
00224 {
00225 namespace message_traits
00226 {
00227 template<class ContainerAllocator>
00228 struct MD5Sum< ::launchman::StatusUpdateResponse_<ContainerAllocator> > {
00229 static const char* value()
00230 {
00231 return "4fe5af303955c287688e7347e9b00278";
00232 }
00233
00234 static const char* value(const ::launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00235 static const uint64_t static_value1 = 0x4fe5af303955c287ULL;
00236 static const uint64_t static_value2 = 0x688e7347e9b00278ULL;
00237 };
00238
00239 template<class ContainerAllocator>
00240 struct DataType< ::launchman::StatusUpdateResponse_<ContainerAllocator> > {
00241 static const char* value()
00242 {
00243 return "launchman/StatusUpdateResponse";
00244 }
00245
00246 static const char* value(const ::launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00247 };
00248
00249 template<class ContainerAllocator>
00250 struct Definition< ::launchman::StatusUpdateResponse_<ContainerAllocator> > {
00251 static const char* value()
00252 {
00253 return "string status\n\
00254 \n\
00255 ";
00256 }
00257
00258 static const char* value(const ::launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00259 };
00260
00261 }
00262 }
00263
00264 namespace ros
00265 {
00266 namespace serialization
00267 {
00268
00269 template<class ContainerAllocator> struct Serializer< ::launchman::StatusUpdateRequest_<ContainerAllocator> >
00270 {
00271 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00272 {
00273 }
00274
00275 ROS_DECLARE_ALLINONE_SERIALIZER;
00276 };
00277 }
00278 }
00279
00280
00281 namespace ros
00282 {
00283 namespace serialization
00284 {
00285
00286 template<class ContainerAllocator> struct Serializer< ::launchman::StatusUpdateResponse_<ContainerAllocator> >
00287 {
00288 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00289 {
00290 stream.next(m.status);
00291 }
00292
00293 ROS_DECLARE_ALLINONE_SERIALIZER;
00294 };
00295 }
00296 }
00297
00298 namespace ros
00299 {
00300 namespace service_traits
00301 {
00302 template<>
00303 struct MD5Sum<launchman::StatusUpdate> {
00304 static const char* value()
00305 {
00306 return "4fe5af303955c287688e7347e9b00278";
00307 }
00308
00309 static const char* value(const launchman::StatusUpdate&) { return value(); }
00310 };
00311
00312 template<>
00313 struct DataType<launchman::StatusUpdate> {
00314 static const char* value()
00315 {
00316 return "launchman/StatusUpdate";
00317 }
00318
00319 static const char* value(const launchman::StatusUpdate&) { return value(); }
00320 };
00321
00322 template<class ContainerAllocator>
00323 struct MD5Sum<launchman::StatusUpdateRequest_<ContainerAllocator> > {
00324 static const char* value()
00325 {
00326 return "4fe5af303955c287688e7347e9b00278";
00327 }
00328
00329 static const char* value(const launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00330 };
00331
00332 template<class ContainerAllocator>
00333 struct DataType<launchman::StatusUpdateRequest_<ContainerAllocator> > {
00334 static const char* value()
00335 {
00336 return "launchman/StatusUpdate";
00337 }
00338
00339 static const char* value(const launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00340 };
00341
00342 template<class ContainerAllocator>
00343 struct MD5Sum<launchman::StatusUpdateResponse_<ContainerAllocator> > {
00344 static const char* value()
00345 {
00346 return "4fe5af303955c287688e7347e9b00278";
00347 }
00348
00349 static const char* value(const launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00350 };
00351
00352 template<class ContainerAllocator>
00353 struct DataType<launchman::StatusUpdateResponse_<ContainerAllocator> > {
00354 static const char* value()
00355 {
00356 return "launchman/StatusUpdate";
00357 }
00358
00359 static const char* value(const launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00360 };
00361
00362 }
00363 }
00364
00365 #endif // LAUNCHMAN_SERVICE_STATUSUPDATE_H
00366