00001
00002 #ifndef APP_MANAGER_SERVICE_STARTAPP_H
00003 #define APP_MANAGER_SERVICE_STARTAPP_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 app_manager
00019 {
00020 template <class ContainerAllocator>
00021 struct StartAppRequest_ : public ros::Message
00022 {
00023 typedef StartAppRequest_<ContainerAllocator> Type;
00024
00025 StartAppRequest_()
00026 : name()
00027 {
00028 }
00029
00030 StartAppRequest_(const ContainerAllocator& _alloc)
00031 : name(_alloc)
00032 {
00033 }
00034
00035 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00036 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "app_manager/StartAppRequest"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "c1f3d28f1b044c871e6eff2e9fc3c667"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getServerMD5Sum_() { return "07c2c0d81a44b3d573187630fa526c81"; }
00055 public:
00056 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00057
00058 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00059
00060 private:
00061 static const char* __s_getMessageDefinition_() { return "\n\
00062 string name\n\
00063 \n\
00064 "; }
00065 public:
00066 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00067
00068 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00069
00070 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00071 {
00072 ros::serialization::OStream stream(write_ptr, 1000000000);
00073 ros::serialization::serialize(stream, name);
00074 return stream.getData();
00075 }
00076
00077 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00078 {
00079 ros::serialization::IStream stream(read_ptr, 1000000000);
00080 ros::serialization::deserialize(stream, name);
00081 return stream.getData();
00082 }
00083
00084 ROS_DEPRECATED virtual uint32_t serializationLength() const
00085 {
00086 uint32_t size = 0;
00087 size += ros::serialization::serializationLength(name);
00088 return size;
00089 }
00090
00091 typedef boost::shared_ptr< ::app_manager::StartAppRequest_<ContainerAllocator> > Ptr;
00092 typedef boost::shared_ptr< ::app_manager::StartAppRequest_<ContainerAllocator> const> ConstPtr;
00093 };
00094 typedef ::app_manager::StartAppRequest_<std::allocator<void> > StartAppRequest;
00095
00096 typedef boost::shared_ptr< ::app_manager::StartAppRequest> StartAppRequestPtr;
00097 typedef boost::shared_ptr< ::app_manager::StartAppRequest const> StartAppRequestConstPtr;
00098
00099
00100 template <class ContainerAllocator>
00101 struct StartAppResponse_ : public ros::Message
00102 {
00103 typedef StartAppResponse_<ContainerAllocator> Type;
00104
00105 StartAppResponse_()
00106 : started(false)
00107 , error_code(0)
00108 , message()
00109 , namespace()
00110 {
00111 }
00112
00113 StartAppResponse_(const ContainerAllocator& _alloc)
00114 : started(false)
00115 , error_code(0)
00116 , message(_alloc)
00117 , namespace(_alloc)
00118 {
00119 }
00120
00121 typedef uint8_t _started_type;
00122 uint8_t started;
00123
00124 typedef int32_t _error_code_type;
00125 int32_t error_code;
00126
00127 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _message_type;
00128 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > message;
00129
00130 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _namespace_type;
00131 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > namespace;
00132
00133
00134 private:
00135 static const char* __s_getDataType_() { return "app_manager/StartAppResponse"; }
00136 public:
00137 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00138
00139 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00140
00141 private:
00142 static const char* __s_getMD5Sum_() { return "29589baf2876ff624d4cb5688c12265e"; }
00143 public:
00144 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00145
00146 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00147
00148 private:
00149 static const char* __s_getServerMD5Sum_() { return "07c2c0d81a44b3d573187630fa526c81"; }
00150 public:
00151 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00152
00153 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00154
00155 private:
00156 static const char* __s_getMessageDefinition_() { return "\n\
00157 bool started\n\
00158 \n\
00159 \n\
00160 int32 error_code\n\
00161 \n\
00162 string message\n\
00163 \n\
00164 string namespace\n\
00165 \n\
00166 \n\
00167 \n\
00168 "; }
00169 public:
00170 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00171
00172 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00173
00174 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00175 {
00176 ros::serialization::OStream stream(write_ptr, 1000000000);
00177 ros::serialization::serialize(stream, started);
00178 ros::serialization::serialize(stream, error_code);
00179 ros::serialization::serialize(stream, message);
00180 ros::serialization::serialize(stream, namespace);
00181 return stream.getData();
00182 }
00183
00184 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00185 {
00186 ros::serialization::IStream stream(read_ptr, 1000000000);
00187 ros::serialization::deserialize(stream, started);
00188 ros::serialization::deserialize(stream, error_code);
00189 ros::serialization::deserialize(stream, message);
00190 ros::serialization::deserialize(stream, namespace);
00191 return stream.getData();
00192 }
00193
00194 ROS_DEPRECATED virtual uint32_t serializationLength() const
00195 {
00196 uint32_t size = 0;
00197 size += ros::serialization::serializationLength(started);
00198 size += ros::serialization::serializationLength(error_code);
00199 size += ros::serialization::serializationLength(message);
00200 size += ros::serialization::serializationLength(namespace);
00201 return size;
00202 }
00203
00204 typedef boost::shared_ptr< ::app_manager::StartAppResponse_<ContainerAllocator> > Ptr;
00205 typedef boost::shared_ptr< ::app_manager::StartAppResponse_<ContainerAllocator> const> ConstPtr;
00206 };
00207 typedef ::app_manager::StartAppResponse_<std::allocator<void> > StartAppResponse;
00208
00209 typedef boost::shared_ptr< ::app_manager::StartAppResponse> StartAppResponsePtr;
00210 typedef boost::shared_ptr< ::app_manager::StartAppResponse const> StartAppResponseConstPtr;
00211
00212 struct StartApp
00213 {
00214
00215 typedef StartAppRequest Request;
00216 typedef StartAppResponse Response;
00217 Request request;
00218 Response response;
00219
00220 typedef Request RequestType;
00221 typedef Response ResponseType;
00222 };
00223 }
00224
00225 namespace ros
00226 {
00227 namespace message_traits
00228 {
00229 template<class ContainerAllocator>
00230 struct MD5Sum< ::app_manager::StartAppRequest_<ContainerAllocator> > {
00231 static const char* value()
00232 {
00233 return "c1f3d28f1b044c871e6eff2e9fc3c667";
00234 }
00235
00236 static const char* value(const ::app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00237 static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL;
00238 static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL;
00239 };
00240
00241 template<class ContainerAllocator>
00242 struct DataType< ::app_manager::StartAppRequest_<ContainerAllocator> > {
00243 static const char* value()
00244 {
00245 return "app_manager/StartAppRequest";
00246 }
00247
00248 static const char* value(const ::app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00249 };
00250
00251 template<class ContainerAllocator>
00252 struct Definition< ::app_manager::StartAppRequest_<ContainerAllocator> > {
00253 static const char* value()
00254 {
00255 return "\n\
00256 string name\n\
00257 \n\
00258 ";
00259 }
00260
00261 static const char* value(const ::app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 }
00265 }
00266
00267
00268 namespace ros
00269 {
00270 namespace message_traits
00271 {
00272 template<class ContainerAllocator>
00273 struct MD5Sum< ::app_manager::StartAppResponse_<ContainerAllocator> > {
00274 static const char* value()
00275 {
00276 return "29589baf2876ff624d4cb5688c12265e";
00277 }
00278
00279 static const char* value(const ::app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00280 static const uint64_t static_value1 = 0x29589baf2876ff62ULL;
00281 static const uint64_t static_value2 = 0x4d4cb5688c12265eULL;
00282 };
00283
00284 template<class ContainerAllocator>
00285 struct DataType< ::app_manager::StartAppResponse_<ContainerAllocator> > {
00286 static const char* value()
00287 {
00288 return "app_manager/StartAppResponse";
00289 }
00290
00291 static const char* value(const ::app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00292 };
00293
00294 template<class ContainerAllocator>
00295 struct Definition< ::app_manager::StartAppResponse_<ContainerAllocator> > {
00296 static const char* value()
00297 {
00298 return "\n\
00299 bool started\n\
00300 \n\
00301 \n\
00302 int32 error_code\n\
00303 \n\
00304 string message\n\
00305 \n\
00306 string namespace\n\
00307 \n\
00308 \n\
00309 \n\
00310 ";
00311 }
00312
00313 static const char* value(const ::app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00314 };
00315
00316 }
00317 }
00318
00319 namespace ros
00320 {
00321 namespace serialization
00322 {
00323
00324 template<class ContainerAllocator> struct Serializer< ::app_manager::StartAppRequest_<ContainerAllocator> >
00325 {
00326 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00327 {
00328 stream.next(m.name);
00329 }
00330
00331 ROS_DECLARE_ALLINONE_SERIALIZER;
00332 };
00333 }
00334 }
00335
00336
00337 namespace ros
00338 {
00339 namespace serialization
00340 {
00341
00342 template<class ContainerAllocator> struct Serializer< ::app_manager::StartAppResponse_<ContainerAllocator> >
00343 {
00344 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00345 {
00346 stream.next(m.started);
00347 stream.next(m.error_code);
00348 stream.next(m.message);
00349 stream.next(m.namespace);
00350 }
00351
00352 ROS_DECLARE_ALLINONE_SERIALIZER;
00353 };
00354 }
00355 }
00356
00357 namespace ros
00358 {
00359 namespace service_traits
00360 {
00361 template<>
00362 struct MD5Sum<app_manager::StartApp> {
00363 static const char* value()
00364 {
00365 return "07c2c0d81a44b3d573187630fa526c81";
00366 }
00367
00368 static const char* value(const app_manager::StartApp&) { return value(); }
00369 };
00370
00371 template<>
00372 struct DataType<app_manager::StartApp> {
00373 static const char* value()
00374 {
00375 return "app_manager/StartApp";
00376 }
00377
00378 static const char* value(const app_manager::StartApp&) { return value(); }
00379 };
00380
00381 template<class ContainerAllocator>
00382 struct MD5Sum<app_manager::StartAppRequest_<ContainerAllocator> > {
00383 static const char* value()
00384 {
00385 return "07c2c0d81a44b3d573187630fa526c81";
00386 }
00387
00388 static const char* value(const app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00389 };
00390
00391 template<class ContainerAllocator>
00392 struct DataType<app_manager::StartAppRequest_<ContainerAllocator> > {
00393 static const char* value()
00394 {
00395 return "app_manager/StartApp";
00396 }
00397
00398 static const char* value(const app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00399 };
00400
00401 template<class ContainerAllocator>
00402 struct MD5Sum<app_manager::StartAppResponse_<ContainerAllocator> > {
00403 static const char* value()
00404 {
00405 return "07c2c0d81a44b3d573187630fa526c81";
00406 }
00407
00408 static const char* value(const app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00409 };
00410
00411 template<class ContainerAllocator>
00412 struct DataType<app_manager::StartAppResponse_<ContainerAllocator> > {
00413 static const char* value()
00414 {
00415 return "app_manager/StartApp";
00416 }
00417
00418 static const char* value(const app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00419 };
00420
00421 }
00422 }
00423
00424 #endif // APP_MANAGER_SERVICE_STARTAPP_H
00425