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