Go to the documentation of this file.00001
00002 #ifndef APPMANAGER_COMMS_SERVICE_STARTAPP_H
00003 #define APPMANAGER_COMMS_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 appmanager_comms
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< ::appmanager_comms::StartAppRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::appmanager_comms::StartAppRequest_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::appmanager_comms::StartAppRequest_<std::allocator<void> > StartAppRequest;
00047
00048 typedef boost::shared_ptr< ::appmanager_comms::StartAppRequest> StartAppRequestPtr;
00049 typedef boost::shared_ptr< ::appmanager_comms::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 , app_namespace()
00061 {
00062 }
00063
00064 StartAppResponse_(const ContainerAllocator& _alloc)
00065 : started(false)
00066 , error_code(0)
00067 , message(_alloc)
00068 , app_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 > _app_namespace_type;
00082 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > app_namespace;
00083
00084
00085 typedef boost::shared_ptr< ::appmanager_comms::StartAppResponse_<ContainerAllocator> > Ptr;
00086 typedef boost::shared_ptr< ::appmanager_comms::StartAppResponse_<ContainerAllocator> const> ConstPtr;
00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00088 };
00089 typedef ::appmanager_comms::StartAppResponse_<std::allocator<void> > StartAppResponse;
00090
00091 typedef boost::shared_ptr< ::appmanager_comms::StartAppResponse> StartAppResponsePtr;
00092 typedef boost::shared_ptr< ::appmanager_comms::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< ::appmanager_comms::StartAppRequest_<ContainerAllocator> > : public TrueType {};
00112 template<class ContainerAllocator> struct IsMessage< ::appmanager_comms::StartAppRequest_<ContainerAllocator> const> : public TrueType {};
00113 template<class ContainerAllocator>
00114 struct MD5Sum< ::appmanager_comms::StartAppRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "c1f3d28f1b044c871e6eff2e9fc3c667";
00118 }
00119
00120 static const char* value(const ::appmanager_comms::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< ::appmanager_comms::StartAppRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "appmanager_comms/StartAppRequest";
00130 }
00131
00132 static const char* value(const ::appmanager_comms::StartAppRequest_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct Definition< ::appmanager_comms::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 ::appmanager_comms::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< ::appmanager_comms::StartAppResponse_<ContainerAllocator> > : public TrueType {};
00157 template<class ContainerAllocator> struct IsMessage< ::appmanager_comms::StartAppResponse_<ContainerAllocator> const> : public TrueType {};
00158 template<class ContainerAllocator>
00159 struct MD5Sum< ::appmanager_comms::StartAppResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "d47dedd876ba5df1daf4654018d1329b";
00163 }
00164
00165 static const char* value(const ::appmanager_comms::StartAppResponse_<ContainerAllocator> &) { return value(); }
00166 static const uint64_t static_value1 = 0xd47dedd876ba5df1ULL;
00167 static const uint64_t static_value2 = 0xdaf4654018d1329bULL;
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct DataType< ::appmanager_comms::StartAppResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "appmanager_comms/StartAppResponse";
00175 }
00176
00177 static const char* value(const ::appmanager_comms::StartAppResponse_<ContainerAllocator> &) { return value(); }
00178 };
00179
00180 template<class ContainerAllocator>
00181 struct Definition< ::appmanager_comms::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 app_namespace\n\
00193 \n\
00194 \n\
00195 ";
00196 }
00197
00198 static const char* value(const ::appmanager_comms::StartAppResponse_<ContainerAllocator> &) { return value(); }
00199 };
00200
00201 }
00202 }
00203
00204 namespace ros
00205 {
00206 namespace serialization
00207 {
00208
00209 template<class ContainerAllocator> struct Serializer< ::appmanager_comms::StartAppRequest_<ContainerAllocator> >
00210 {
00211 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00212 {
00213 stream.next(m.name);
00214 }
00215
00216 ROS_DECLARE_ALLINONE_SERIALIZER;
00217 };
00218 }
00219 }
00220
00221
00222 namespace ros
00223 {
00224 namespace serialization
00225 {
00226
00227 template<class ContainerAllocator> struct Serializer< ::appmanager_comms::StartAppResponse_<ContainerAllocator> >
00228 {
00229 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00230 {
00231 stream.next(m.started);
00232 stream.next(m.error_code);
00233 stream.next(m.message);
00234 stream.next(m.app_namespace);
00235 }
00236
00237 ROS_DECLARE_ALLINONE_SERIALIZER;
00238 };
00239 }
00240 }
00241
00242 namespace ros
00243 {
00244 namespace service_traits
00245 {
00246 template<>
00247 struct MD5Sum<appmanager_comms::StartApp> {
00248 static const char* value()
00249 {
00250 return "6dd493d3068fb4f05b6fd5f062476a00";
00251 }
00252
00253 static const char* value(const appmanager_comms::StartApp&) { return value(); }
00254 };
00255
00256 template<>
00257 struct DataType<appmanager_comms::StartApp> {
00258 static const char* value()
00259 {
00260 return "appmanager_comms/StartApp";
00261 }
00262
00263 static const char* value(const appmanager_comms::StartApp&) { return value(); }
00264 };
00265
00266 template<class ContainerAllocator>
00267 struct MD5Sum<appmanager_comms::StartAppRequest_<ContainerAllocator> > {
00268 static const char* value()
00269 {
00270 return "6dd493d3068fb4f05b6fd5f062476a00";
00271 }
00272
00273 static const char* value(const appmanager_comms::StartAppRequest_<ContainerAllocator> &) { return value(); }
00274 };
00275
00276 template<class ContainerAllocator>
00277 struct DataType<appmanager_comms::StartAppRequest_<ContainerAllocator> > {
00278 static const char* value()
00279 {
00280 return "appmanager_comms/StartApp";
00281 }
00282
00283 static const char* value(const appmanager_comms::StartAppRequest_<ContainerAllocator> &) { return value(); }
00284 };
00285
00286 template<class ContainerAllocator>
00287 struct MD5Sum<appmanager_comms::StartAppResponse_<ContainerAllocator> > {
00288 static const char* value()
00289 {
00290 return "6dd493d3068fb4f05b6fd5f062476a00";
00291 }
00292
00293 static const char* value(const appmanager_comms::StartAppResponse_<ContainerAllocator> &) { return value(); }
00294 };
00295
00296 template<class ContainerAllocator>
00297 struct DataType<appmanager_comms::StartAppResponse_<ContainerAllocator> > {
00298 static const char* value()
00299 {
00300 return "appmanager_comms/StartApp";
00301 }
00302
00303 static const char* value(const appmanager_comms::StartAppResponse_<ContainerAllocator> &) { return value(); }
00304 };
00305
00306 }
00307 }
00308
00309 #endif // APPMANAGER_COMMS_SERVICE_STARTAPP_H
00310