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