Go to the documentation of this file.00001
00002 #ifndef TELEKYB_SRVS_SERVICE_DHDTOGGLEFORCE_H
00003 #define TELEKYB_SRVS_SERVICE_DHDTOGGLEFORCE_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 telekyb_srvs
00023 {
00024 template <class ContainerAllocator>
00025 struct DHDToggleForceRequest_ {
00026 typedef DHDToggleForceRequest_<ContainerAllocator> Type;
00027
00028 DHDToggleForceRequest_()
00029 : toggle(false)
00030 , gravityCompenstation(false)
00031 , effectorMass(0.0)
00032 {
00033 }
00034
00035 DHDToggleForceRequest_(const ContainerAllocator& _alloc)
00036 : toggle(false)
00037 , gravityCompenstation(false)
00038 , effectorMass(0.0)
00039 {
00040 }
00041
00042 typedef uint8_t _toggle_type;
00043 uint8_t toggle;
00044
00045 typedef uint8_t _gravityCompenstation_type;
00046 uint8_t gravityCompenstation;
00047
00048 typedef float _effectorMass_type;
00049 float effectorMass;
00050
00051
00052 typedef boost::shared_ptr< ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> > Ptr;
00053 typedef boost::shared_ptr< ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> const> ConstPtr;
00054 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 };
00056 typedef ::telekyb_srvs::DHDToggleForceRequest_<std::allocator<void> > DHDToggleForceRequest;
00057
00058 typedef boost::shared_ptr< ::telekyb_srvs::DHDToggleForceRequest> DHDToggleForceRequestPtr;
00059 typedef boost::shared_ptr< ::telekyb_srvs::DHDToggleForceRequest const> DHDToggleForceRequestConstPtr;
00060
00061
00062 template <class ContainerAllocator>
00063 struct DHDToggleForceResponse_ {
00064 typedef DHDToggleForceResponse_<ContainerAllocator> Type;
00065
00066 DHDToggleForceResponse_()
00067 {
00068 }
00069
00070 DHDToggleForceResponse_(const ContainerAllocator& _alloc)
00071 {
00072 }
00073
00074
00075 typedef boost::shared_ptr< ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> > Ptr;
00076 typedef boost::shared_ptr< ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> const> ConstPtr;
00077 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00078 };
00079 typedef ::telekyb_srvs::DHDToggleForceResponse_<std::allocator<void> > DHDToggleForceResponse;
00080
00081 typedef boost::shared_ptr< ::telekyb_srvs::DHDToggleForceResponse> DHDToggleForceResponsePtr;
00082 typedef boost::shared_ptr< ::telekyb_srvs::DHDToggleForceResponse const> DHDToggleForceResponseConstPtr;
00083
00084 struct DHDToggleForce
00085 {
00086
00087 typedef DHDToggleForceRequest Request;
00088 typedef DHDToggleForceResponse 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< ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> > : public TrueType {};
00102 template<class ContainerAllocator> struct IsMessage< ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> const> : public TrueType {};
00103 template<class ContainerAllocator>
00104 struct MD5Sum< ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "d234d7a8a0367a7514c313cf863c0f98";
00108 }
00109
00110 static const char* value(const ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> &) { return value(); }
00111 static const uint64_t static_value1 = 0xd234d7a8a0367a75ULL;
00112 static const uint64_t static_value2 = 0x14c313cf863c0f98ULL;
00113 };
00114
00115 template<class ContainerAllocator>
00116 struct DataType< ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "telekyb_srvs/DHDToggleForceRequest";
00120 }
00121
00122 static const char* value(const ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> &) { return value(); }
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct Definition< ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "\n\
00130 \n\
00131 \n\
00132 \n\
00133 \n\
00134 \n\
00135 \n\
00136 \n\
00137 \n\
00138 \n\
00139 \n\
00140 \n\
00141 \n\
00142 \n\
00143 \n\
00144 \n\
00145 \n\
00146 \n\
00147 \n\
00148 bool toggle\n\
00149 \n\
00150 \n\
00151 bool gravityCompenstation\n\
00152 \n\
00153 \n\
00154 \n\
00155 float32 effectorMass\n\
00156 \n\
00157 ";
00158 }
00159
00160 static const char* value(const ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 template<class ContainerAllocator> struct IsFixedSize< ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> > : public TrueType {};
00164 }
00165 }
00166
00167
00168 namespace ros
00169 {
00170 namespace message_traits
00171 {
00172 template<class ContainerAllocator> struct IsMessage< ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> > : public TrueType {};
00173 template<class ContainerAllocator> struct IsMessage< ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> const> : public TrueType {};
00174 template<class ContainerAllocator>
00175 struct MD5Sum< ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> > {
00176 static const char* value()
00177 {
00178 return "d41d8cd98f00b204e9800998ecf8427e";
00179 }
00180
00181 static const char* value(const ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> &) { return value(); }
00182 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00183 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00184 };
00185
00186 template<class ContainerAllocator>
00187 struct DataType< ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "telekyb_srvs/DHDToggleForceResponse";
00191 }
00192
00193 static const char* value(const ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> &) { return value(); }
00194 };
00195
00196 template<class ContainerAllocator>
00197 struct Definition< ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> > {
00198 static const char* value()
00199 {
00200 return "\n\
00201 \n\
00202 \n\
00203 ";
00204 }
00205
00206 static const char* value(const ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> &) { return value(); }
00207 };
00208
00209 template<class ContainerAllocator> struct IsFixedSize< ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> > : public TrueType {};
00210 }
00211 }
00212
00213 namespace ros
00214 {
00215 namespace serialization
00216 {
00217
00218 template<class ContainerAllocator> struct Serializer< ::telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> >
00219 {
00220 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00221 {
00222 stream.next(m.toggle);
00223 stream.next(m.gravityCompenstation);
00224 stream.next(m.effectorMass);
00225 }
00226
00227 ROS_DECLARE_ALLINONE_SERIALIZER;
00228 };
00229 }
00230 }
00231
00232
00233 namespace ros
00234 {
00235 namespace serialization
00236 {
00237
00238 template<class ContainerAllocator> struct Serializer< ::telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> >
00239 {
00240 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00241 {
00242 }
00243
00244 ROS_DECLARE_ALLINONE_SERIALIZER;
00245 };
00246 }
00247 }
00248
00249 namespace ros
00250 {
00251 namespace service_traits
00252 {
00253 template<>
00254 struct MD5Sum<telekyb_srvs::DHDToggleForce> {
00255 static const char* value()
00256 {
00257 return "d234d7a8a0367a7514c313cf863c0f98";
00258 }
00259
00260 static const char* value(const telekyb_srvs::DHDToggleForce&) { return value(); }
00261 };
00262
00263 template<>
00264 struct DataType<telekyb_srvs::DHDToggleForce> {
00265 static const char* value()
00266 {
00267 return "telekyb_srvs/DHDToggleForce";
00268 }
00269
00270 static const char* value(const telekyb_srvs::DHDToggleForce&) { return value(); }
00271 };
00272
00273 template<class ContainerAllocator>
00274 struct MD5Sum<telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> > {
00275 static const char* value()
00276 {
00277 return "d234d7a8a0367a7514c313cf863c0f98";
00278 }
00279
00280 static const char* value(const telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> &) { return value(); }
00281 };
00282
00283 template<class ContainerAllocator>
00284 struct DataType<telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> > {
00285 static const char* value()
00286 {
00287 return "telekyb_srvs/DHDToggleForce";
00288 }
00289
00290 static const char* value(const telekyb_srvs::DHDToggleForceRequest_<ContainerAllocator> &) { return value(); }
00291 };
00292
00293 template<class ContainerAllocator>
00294 struct MD5Sum<telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> > {
00295 static const char* value()
00296 {
00297 return "d234d7a8a0367a7514c313cf863c0f98";
00298 }
00299
00300 static const char* value(const telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> &) { return value(); }
00301 };
00302
00303 template<class ContainerAllocator>
00304 struct DataType<telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> > {
00305 static const char* value()
00306 {
00307 return "telekyb_srvs/DHDToggleForce";
00308 }
00309
00310 static const char* value(const telekyb_srvs::DHDToggleForceResponse_<ContainerAllocator> &) { return value(); }
00311 };
00312
00313 }
00314 }
00315
00316 #endif // TELEKYB_SRVS_SERVICE_DHDTOGGLEFORCE_H
00317