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