Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::app_manager::StartAppRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::app_manager::StartAppRequest_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::app_manager::StartAppRequest_<std::allocator<void> > StartAppRequest;
00047
00048 typedef boost::shared_ptr< ::app_manager::StartAppRequest> StartAppRequestPtr;
00049 typedef boost::shared_ptr< ::app_manager::StartAppRequest const> StartAppRequestConstPtr;
00050
00051
00052 template <class ContainerAllocator>
00053 struct StartAppResponse_ {
00054 typedef StartAppResponse_<ContainerAllocator> Type;
00055
00056 StartAppResponse_()
00057 : started(false)
00058 , error_code(0)
00059 , message()
00060 , namespace()
00061 {
00062 }
00063
00064 StartAppResponse_(const ContainerAllocator& _alloc)
00065 : started(false)
00066 , error_code(0)
00067 , message(_alloc)
00068 , namespace(_alloc)
00069 {
00070 }
00071
00072 typedef uint8_t _started_type;
00073 uint8_t started;
00074
00075 typedef int32_t _error_code_type;
00076 int32_t error_code;
00077
00078 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _message_type;
00079 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > message;
00080
00081 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _namespace_type;
00082 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > namespace;
00083
00084
00085 typedef boost::shared_ptr< ::app_manager::StartAppResponse_<ContainerAllocator> > Ptr;
00086 typedef boost::shared_ptr< ::app_manager::StartAppResponse_<ContainerAllocator> const> ConstPtr;
00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00088 };
00089 typedef ::app_manager::StartAppResponse_<std::allocator<void> > StartAppResponse;
00090
00091 typedef boost::shared_ptr< ::app_manager::StartAppResponse> StartAppResponsePtr;
00092 typedef boost::shared_ptr< ::app_manager::StartAppResponse const> StartAppResponseConstPtr;
00093
00094 struct StartApp
00095 {
00096
00097 typedef StartAppRequest Request;
00098 typedef StartAppResponse Response;
00099 Request request;
00100 Response response;
00101
00102 typedef Request RequestType;
00103 typedef Response ResponseType;
00104 };
00105 }
00106
00107 namespace ros
00108 {
00109 namespace message_traits
00110 {
00111 template<class ContainerAllocator> struct IsMessage< ::app_manager::StartAppRequest_<ContainerAllocator> > : public TrueType {};
00112 template<class ContainerAllocator> struct IsMessage< ::app_manager::StartAppRequest_<ContainerAllocator> const> : public TrueType {};
00113 template<class ContainerAllocator>
00114 struct MD5Sum< ::app_manager::StartAppRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "c1f3d28f1b044c871e6eff2e9fc3c667";
00118 }
00119
00120 static const char* value(const ::app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00121 static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL;
00122 static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL;
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct DataType< ::app_manager::StartAppRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "app_manager/StartAppRequest";
00130 }
00131
00132 static const char* value(const ::app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct Definition< ::app_manager::StartAppRequest_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "\n\
00140 string name\n\
00141 \n\
00142 ";
00143 }
00144
00145 static const char* value(const ::app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00146 };
00147
00148 }
00149 }
00150
00151
00152 namespace ros
00153 {
00154 namespace message_traits
00155 {
00156 template<class ContainerAllocator> struct IsMessage< ::app_manager::StartAppResponse_<ContainerAllocator> > : public TrueType {};
00157 template<class ContainerAllocator> struct IsMessage< ::app_manager::StartAppResponse_<ContainerAllocator> const> : public TrueType {};
00158 template<class ContainerAllocator>
00159 struct MD5Sum< ::app_manager::StartAppResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "29589baf2876ff624d4cb5688c12265e";
00163 }
00164
00165 static const char* value(const ::app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00166 static const uint64_t static_value1 = 0x29589baf2876ff62ULL;
00167 static const uint64_t static_value2 = 0x4d4cb5688c12265eULL;
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct DataType< ::app_manager::StartAppResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "app_manager/StartAppResponse";
00175 }
00176
00177 static const char* value(const ::app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00178 };
00179
00180 template<class ContainerAllocator>
00181 struct Definition< ::app_manager::StartAppResponse_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "\n\
00185 bool started\n\
00186 \n\
00187 \n\
00188 int32 error_code\n\
00189 \n\
00190 string message\n\
00191 \n\
00192 string namespace\n\
00193 \n\
00194 \n\
00195 \n\
00196 ";
00197 }
00198
00199 static const char* value(const ::app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00200 };
00201
00202 }
00203 }
00204
00205 namespace ros
00206 {
00207 namespace serialization
00208 {
00209
00210 template<class ContainerAllocator> struct Serializer< ::app_manager::StartAppRequest_<ContainerAllocator> >
00211 {
00212 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00213 {
00214 stream.next(m.name);
00215 }
00216
00217 ROS_DECLARE_ALLINONE_SERIALIZER;
00218 };
00219 }
00220 }
00221
00222
00223 namespace ros
00224 {
00225 namespace serialization
00226 {
00227
00228 template<class ContainerAllocator> struct Serializer< ::app_manager::StartAppResponse_<ContainerAllocator> >
00229 {
00230 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00231 {
00232 stream.next(m.started);
00233 stream.next(m.error_code);
00234 stream.next(m.message);
00235 stream.next(m.namespace);
00236 }
00237
00238 ROS_DECLARE_ALLINONE_SERIALIZER;
00239 };
00240 }
00241 }
00242
00243 namespace ros
00244 {
00245 namespace service_traits
00246 {
00247 template<>
00248 struct MD5Sum<app_manager::StartApp> {
00249 static const char* value()
00250 {
00251 return "07c2c0d81a44b3d573187630fa526c81";
00252 }
00253
00254 static const char* value(const app_manager::StartApp&) { return value(); }
00255 };
00256
00257 template<>
00258 struct DataType<app_manager::StartApp> {
00259 static const char* value()
00260 {
00261 return "app_manager/StartApp";
00262 }
00263
00264 static const char* value(const app_manager::StartApp&) { return value(); }
00265 };
00266
00267 template<class ContainerAllocator>
00268 struct MD5Sum<app_manager::StartAppRequest_<ContainerAllocator> > {
00269 static const char* value()
00270 {
00271 return "07c2c0d81a44b3d573187630fa526c81";
00272 }
00273
00274 static const char* value(const app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00275 };
00276
00277 template<class ContainerAllocator>
00278 struct DataType<app_manager::StartAppRequest_<ContainerAllocator> > {
00279 static const char* value()
00280 {
00281 return "app_manager/StartApp";
00282 }
00283
00284 static const char* value(const app_manager::StartAppRequest_<ContainerAllocator> &) { return value(); }
00285 };
00286
00287 template<class ContainerAllocator>
00288 struct MD5Sum<app_manager::StartAppResponse_<ContainerAllocator> > {
00289 static const char* value()
00290 {
00291 return "07c2c0d81a44b3d573187630fa526c81";
00292 }
00293
00294 static const char* value(const app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00295 };
00296
00297 template<class ContainerAllocator>
00298 struct DataType<app_manager::StartAppResponse_<ContainerAllocator> > {
00299 static const char* value()
00300 {
00301 return "app_manager/StartApp";
00302 }
00303
00304 static const char* value(const app_manager::StartAppResponse_<ContainerAllocator> &) { return value(); }
00305 };
00306
00307 }
00308 }
00309
00310 #endif // APP_MANAGER_SERVICE_STARTAPP_H
00311