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