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