Go to the documentation of this file.00001
00002 #ifndef MAV_SRVS_SERVICE_ESTOP_H
00003 #define MAV_SRVS_SERVICE_ESTOP_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 mav_srvs
00023 {
00024 template <class ContainerAllocator>
00025 struct ESTOPRequest_ {
00026 typedef ESTOPRequest_<ContainerAllocator> Type;
00027
00028 ESTOPRequest_()
00029 {
00030 }
00031
00032 ESTOPRequest_(const ContainerAllocator& _alloc)
00033 {
00034 }
00035
00036
00037 typedef boost::shared_ptr< ::mav_srvs::ESTOPRequest_<ContainerAllocator> > Ptr;
00038 typedef boost::shared_ptr< ::mav_srvs::ESTOPRequest_<ContainerAllocator> const> ConstPtr;
00039 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00040 };
00041 typedef ::mav_srvs::ESTOPRequest_<std::allocator<void> > ESTOPRequest;
00042
00043 typedef boost::shared_ptr< ::mav_srvs::ESTOPRequest> ESTOPRequestPtr;
00044 typedef boost::shared_ptr< ::mav_srvs::ESTOPRequest const> ESTOPRequestConstPtr;
00045
00046
00047 template <class ContainerAllocator>
00048 struct ESTOPResponse_ {
00049 typedef ESTOPResponse_<ContainerAllocator> Type;
00050
00051 ESTOPResponse_()
00052 {
00053 }
00054
00055 ESTOPResponse_(const ContainerAllocator& _alloc)
00056 {
00057 }
00058
00059
00060 typedef boost::shared_ptr< ::mav_srvs::ESTOPResponse_<ContainerAllocator> > Ptr;
00061 typedef boost::shared_ptr< ::mav_srvs::ESTOPResponse_<ContainerAllocator> const> ConstPtr;
00062 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 };
00064 typedef ::mav_srvs::ESTOPResponse_<std::allocator<void> > ESTOPResponse;
00065
00066 typedef boost::shared_ptr< ::mav_srvs::ESTOPResponse> ESTOPResponsePtr;
00067 typedef boost::shared_ptr< ::mav_srvs::ESTOPResponse const> ESTOPResponseConstPtr;
00068
00069 struct ESTOP
00070 {
00071
00072 typedef ESTOPRequest Request;
00073 typedef ESTOPResponse Response;
00074 Request request;
00075 Response response;
00076
00077 typedef Request RequestType;
00078 typedef Response ResponseType;
00079 };
00080 }
00081
00082 namespace ros
00083 {
00084 namespace message_traits
00085 {
00086 template<class ContainerAllocator> struct IsMessage< ::mav_srvs::ESTOPRequest_<ContainerAllocator> > : public TrueType {};
00087 template<class ContainerAllocator> struct IsMessage< ::mav_srvs::ESTOPRequest_<ContainerAllocator> const> : public TrueType {};
00088 template<class ContainerAllocator>
00089 struct MD5Sum< ::mav_srvs::ESTOPRequest_<ContainerAllocator> > {
00090 static const char* value()
00091 {
00092 return "d41d8cd98f00b204e9800998ecf8427e";
00093 }
00094
00095 static const char* value(const ::mav_srvs::ESTOPRequest_<ContainerAllocator> &) { return value(); }
00096 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00097 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00098 };
00099
00100 template<class ContainerAllocator>
00101 struct DataType< ::mav_srvs::ESTOPRequest_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "mav_srvs/ESTOPRequest";
00105 }
00106
00107 static const char* value(const ::mav_srvs::ESTOPRequest_<ContainerAllocator> &) { return value(); }
00108 };
00109
00110 template<class ContainerAllocator>
00111 struct Definition< ::mav_srvs::ESTOPRequest_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "\n\
00115 ";
00116 }
00117
00118 static const char* value(const ::mav_srvs::ESTOPRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator> struct IsFixedSize< ::mav_srvs::ESTOPRequest_<ContainerAllocator> > : public TrueType {};
00122 }
00123 }
00124
00125
00126 namespace ros
00127 {
00128 namespace message_traits
00129 {
00130 template<class ContainerAllocator> struct IsMessage< ::mav_srvs::ESTOPResponse_<ContainerAllocator> > : public TrueType {};
00131 template<class ContainerAllocator> struct IsMessage< ::mav_srvs::ESTOPResponse_<ContainerAllocator> const> : public TrueType {};
00132 template<class ContainerAllocator>
00133 struct MD5Sum< ::mav_srvs::ESTOPResponse_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "d41d8cd98f00b204e9800998ecf8427e";
00137 }
00138
00139 static const char* value(const ::mav_srvs::ESTOPResponse_<ContainerAllocator> &) { return value(); }
00140 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00141 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00142 };
00143
00144 template<class ContainerAllocator>
00145 struct DataType< ::mav_srvs::ESTOPResponse_<ContainerAllocator> > {
00146 static const char* value()
00147 {
00148 return "mav_srvs/ESTOPResponse";
00149 }
00150
00151 static const char* value(const ::mav_srvs::ESTOPResponse_<ContainerAllocator> &) { return value(); }
00152 };
00153
00154 template<class ContainerAllocator>
00155 struct Definition< ::mav_srvs::ESTOPResponse_<ContainerAllocator> > {
00156 static const char* value()
00157 {
00158 return "\n\
00159 \n\
00160 ";
00161 }
00162
00163 static const char* value(const ::mav_srvs::ESTOPResponse_<ContainerAllocator> &) { return value(); }
00164 };
00165
00166 template<class ContainerAllocator> struct IsFixedSize< ::mav_srvs::ESTOPResponse_<ContainerAllocator> > : public TrueType {};
00167 }
00168 }
00169
00170 namespace ros
00171 {
00172 namespace serialization
00173 {
00174
00175 template<class ContainerAllocator> struct Serializer< ::mav_srvs::ESTOPRequest_<ContainerAllocator> >
00176 {
00177 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00178 {
00179 }
00180
00181 ROS_DECLARE_ALLINONE_SERIALIZER;
00182 };
00183 }
00184 }
00185
00186
00187 namespace ros
00188 {
00189 namespace serialization
00190 {
00191
00192 template<class ContainerAllocator> struct Serializer< ::mav_srvs::ESTOPResponse_<ContainerAllocator> >
00193 {
00194 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00195 {
00196 }
00197
00198 ROS_DECLARE_ALLINONE_SERIALIZER;
00199 };
00200 }
00201 }
00202
00203 namespace ros
00204 {
00205 namespace service_traits
00206 {
00207 template<>
00208 struct MD5Sum<mav_srvs::ESTOP> {
00209 static const char* value()
00210 {
00211 return "d41d8cd98f00b204e9800998ecf8427e";
00212 }
00213
00214 static const char* value(const mav_srvs::ESTOP&) { return value(); }
00215 };
00216
00217 template<>
00218 struct DataType<mav_srvs::ESTOP> {
00219 static const char* value()
00220 {
00221 return "mav_srvs/ESTOP";
00222 }
00223
00224 static const char* value(const mav_srvs::ESTOP&) { return value(); }
00225 };
00226
00227 template<class ContainerAllocator>
00228 struct MD5Sum<mav_srvs::ESTOPRequest_<ContainerAllocator> > {
00229 static const char* value()
00230 {
00231 return "d41d8cd98f00b204e9800998ecf8427e";
00232 }
00233
00234 static const char* value(const mav_srvs::ESTOPRequest_<ContainerAllocator> &) { return value(); }
00235 };
00236
00237 template<class ContainerAllocator>
00238 struct DataType<mav_srvs::ESTOPRequest_<ContainerAllocator> > {
00239 static const char* value()
00240 {
00241 return "mav_srvs/ESTOP";
00242 }
00243
00244 static const char* value(const mav_srvs::ESTOPRequest_<ContainerAllocator> &) { return value(); }
00245 };
00246
00247 template<class ContainerAllocator>
00248 struct MD5Sum<mav_srvs::ESTOPResponse_<ContainerAllocator> > {
00249 static const char* value()
00250 {
00251 return "d41d8cd98f00b204e9800998ecf8427e";
00252 }
00253
00254 static const char* value(const mav_srvs::ESTOPResponse_<ContainerAllocator> &) { return value(); }
00255 };
00256
00257 template<class ContainerAllocator>
00258 struct DataType<mav_srvs::ESTOPResponse_<ContainerAllocator> > {
00259 static const char* value()
00260 {
00261 return "mav_srvs/ESTOP";
00262 }
00263
00264 static const char* value(const mav_srvs::ESTOPResponse_<ContainerAllocator> &) { return value(); }
00265 };
00266
00267 }
00268 }
00269
00270 #endif // MAV_SRVS_SERVICE_ESTOP_H
00271