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