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