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


corobot_srvs
Author(s): Morgan Cormier/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:38:11