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


microstrain_3dmgx2_imu
Author(s): Jeremy Leibs, Blaise Gassend
autogenerated on Thu Apr 24 2014 15:26:55