MoveArm.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/MoveArm.srv */
00002 #ifndef COROBOT_SRVS_SERVICE_MOVEARM_H
00003 #define COROBOT_SRVS_SERVICE_MOVEARM_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 MoveArmRequest_ {
00026   typedef MoveArmRequest_<ContainerAllocator> Type;
00027 
00028   MoveArmRequest_()
00029   : gripper(0)
00030   , shoulderOrientation(0.0)
00031   , elbowOrientation(0.0)
00032   , wristOrientation(0.0)
00033   {
00034   }
00035 
00036   MoveArmRequest_(const ContainerAllocator& _alloc)
00037   : gripper(0)
00038   , shoulderOrientation(0.0)
00039   , elbowOrientation(0.0)
00040   , wristOrientation(0.0)
00041   {
00042   }
00043 
00044   typedef uint8_t _gripper_type;
00045   uint8_t gripper;
00046 
00047   typedef float _shoulderOrientation_type;
00048   float shoulderOrientation;
00049 
00050   typedef float _elbowOrientation_type;
00051   float elbowOrientation;
00052 
00053   typedef float _wristOrientation_type;
00054   float wristOrientation;
00055 
00056   enum { GRIPPER_OPEN = 0 };
00057   enum { GRIPPER_CLOSED = 1 };
00058 
00059   typedef boost::shared_ptr< ::corobot_srvs::MoveArmRequest_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::corobot_srvs::MoveArmRequest_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct MoveArmRequest
00063 typedef  ::corobot_srvs::MoveArmRequest_<std::allocator<void> > MoveArmRequest;
00064 
00065 typedef boost::shared_ptr< ::corobot_srvs::MoveArmRequest> MoveArmRequestPtr;
00066 typedef boost::shared_ptr< ::corobot_srvs::MoveArmRequest const> MoveArmRequestConstPtr;
00067 
00068 
00069 template <class ContainerAllocator>
00070 struct MoveArmResponse_ {
00071   typedef MoveArmResponse_<ContainerAllocator> Type;
00072 
00073   MoveArmResponse_()
00074   : err(0)
00075   {
00076   }
00077 
00078   MoveArmResponse_(const ContainerAllocator& _alloc)
00079   : err(0)
00080   {
00081   }
00082 
00083   typedef int8_t _err_type;
00084   int8_t err;
00085 
00086 
00087   typedef boost::shared_ptr< ::corobot_srvs::MoveArmResponse_<ContainerAllocator> > Ptr;
00088   typedef boost::shared_ptr< ::corobot_srvs::MoveArmResponse_<ContainerAllocator>  const> ConstPtr;
00089   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00090 }; // struct MoveArmResponse
00091 typedef  ::corobot_srvs::MoveArmResponse_<std::allocator<void> > MoveArmResponse;
00092 
00093 typedef boost::shared_ptr< ::corobot_srvs::MoveArmResponse> MoveArmResponsePtr;
00094 typedef boost::shared_ptr< ::corobot_srvs::MoveArmResponse const> MoveArmResponseConstPtr;
00095 
00096 struct MoveArm
00097 {
00098 
00099 typedef MoveArmRequest Request;
00100 typedef MoveArmResponse Response;
00101 Request request;
00102 Response response;
00103 
00104 typedef Request RequestType;
00105 typedef Response ResponseType;
00106 }; // struct MoveArm
00107 } // namespace corobot_srvs
00108 
00109 namespace ros
00110 {
00111 namespace message_traits
00112 {
00113 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::MoveArmRequest_<ContainerAllocator> > : public TrueType {};
00114 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::MoveArmRequest_<ContainerAllocator>  const> : public TrueType {};
00115 template<class ContainerAllocator>
00116 struct MD5Sum< ::corobot_srvs::MoveArmRequest_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "129ba62374704bb8be45a6700f90308f";
00120   }
00121 
00122   static const char* value(const  ::corobot_srvs::MoveArmRequest_<ContainerAllocator> &) { return value(); } 
00123   static const uint64_t static_value1 = 0x129ba62374704bb8ULL;
00124   static const uint64_t static_value2 = 0xbe45a6700f90308fULL;
00125 };
00126 
00127 template<class ContainerAllocator>
00128 struct DataType< ::corobot_srvs::MoveArmRequest_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "corobot_srvs/MoveArmRequest";
00132   }
00133 
00134   static const char* value(const  ::corobot_srvs::MoveArmRequest_<ContainerAllocator> &) { return value(); } 
00135 };
00136 
00137 template<class ContainerAllocator>
00138 struct Definition< ::corobot_srvs::MoveArmRequest_<ContainerAllocator> > {
00139   static const char* value() 
00140   {
00141     return "\n\
00142 \n\
00143 uint8 GRIPPER_OPEN = 0\n\
00144 uint8 GRIPPER_CLOSED = 1\n\
00145 \n\
00146 \n\
00147 uint8 gripper\n\
00148 \n\
00149 \n\
00150 float32 shoulderOrientation\n\
00151 \n\
00152 \n\
00153 float32 elbowOrientation\n\
00154 \n\
00155 \n\
00156 float32 wristOrientation\n\
00157 \n\
00158 ";
00159   }
00160 
00161   static const char* value(const  ::corobot_srvs::MoveArmRequest_<ContainerAllocator> &) { return value(); } 
00162 };
00163 
00164 template<class ContainerAllocator> struct IsFixedSize< ::corobot_srvs::MoveArmRequest_<ContainerAllocator> > : public TrueType {};
00165 } // namespace message_traits
00166 } // namespace ros
00167 
00168 
00169 namespace ros
00170 {
00171 namespace message_traits
00172 {
00173 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::MoveArmResponse_<ContainerAllocator> > : public TrueType {};
00174 template<class ContainerAllocator> struct IsMessage< ::corobot_srvs::MoveArmResponse_<ContainerAllocator>  const> : public TrueType {};
00175 template<class ContainerAllocator>
00176 struct MD5Sum< ::corobot_srvs::MoveArmResponse_<ContainerAllocator> > {
00177   static const char* value() 
00178   {
00179     return "3cd2452a26f7d8a04682f2fead8013cf";
00180   }
00181 
00182   static const char* value(const  ::corobot_srvs::MoveArmResponse_<ContainerAllocator> &) { return value(); } 
00183   static const uint64_t static_value1 = 0x3cd2452a26f7d8a0ULL;
00184   static const uint64_t static_value2 = 0x4682f2fead8013cfULL;
00185 };
00186 
00187 template<class ContainerAllocator>
00188 struct DataType< ::corobot_srvs::MoveArmResponse_<ContainerAllocator> > {
00189   static const char* value() 
00190   {
00191     return "corobot_srvs/MoveArmResponse";
00192   }
00193 
00194   static const char* value(const  ::corobot_srvs::MoveArmResponse_<ContainerAllocator> &) { return value(); } 
00195 };
00196 
00197 template<class ContainerAllocator>
00198 struct Definition< ::corobot_srvs::MoveArmResponse_<ContainerAllocator> > {
00199   static const char* value() 
00200   {
00201     return "int8 err\n\
00202 \n\
00203 \n\
00204 ";
00205   }
00206 
00207   static const char* value(const  ::corobot_srvs::MoveArmResponse_<ContainerAllocator> &) { return value(); } 
00208 };
00209 
00210 template<class ContainerAllocator> struct IsFixedSize< ::corobot_srvs::MoveArmResponse_<ContainerAllocator> > : public TrueType {};
00211 } // namespace message_traits
00212 } // namespace ros
00213 
00214 namespace ros
00215 {
00216 namespace serialization
00217 {
00218 
00219 template<class ContainerAllocator> struct Serializer< ::corobot_srvs::MoveArmRequest_<ContainerAllocator> >
00220 {
00221   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00222   {
00223     stream.next(m.gripper);
00224     stream.next(m.shoulderOrientation);
00225     stream.next(m.elbowOrientation);
00226     stream.next(m.wristOrientation);
00227   }
00228 
00229   ROS_DECLARE_ALLINONE_SERIALIZER;
00230 }; // struct MoveArmRequest_
00231 } // namespace serialization
00232 } // namespace ros
00233 
00234 
00235 namespace ros
00236 {
00237 namespace serialization
00238 {
00239 
00240 template<class ContainerAllocator> struct Serializer< ::corobot_srvs::MoveArmResponse_<ContainerAllocator> >
00241 {
00242   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00243   {
00244     stream.next(m.err);
00245   }
00246 
00247   ROS_DECLARE_ALLINONE_SERIALIZER;
00248 }; // struct MoveArmResponse_
00249 } // namespace serialization
00250 } // namespace ros
00251 
00252 namespace ros
00253 {
00254 namespace service_traits
00255 {
00256 template<>
00257 struct MD5Sum<corobot_srvs::MoveArm> {
00258   static const char* value() 
00259   {
00260     return "a1be394c2aee43a6bffa73f110d3b5de";
00261   }
00262 
00263   static const char* value(const corobot_srvs::MoveArm&) { return value(); } 
00264 };
00265 
00266 template<>
00267 struct DataType<corobot_srvs::MoveArm> {
00268   static const char* value() 
00269   {
00270     return "corobot_srvs/MoveArm";
00271   }
00272 
00273   static const char* value(const corobot_srvs::MoveArm&) { return value(); } 
00274 };
00275 
00276 template<class ContainerAllocator>
00277 struct MD5Sum<corobot_srvs::MoveArmRequest_<ContainerAllocator> > {
00278   static const char* value() 
00279   {
00280     return "a1be394c2aee43a6bffa73f110d3b5de";
00281   }
00282 
00283   static const char* value(const corobot_srvs::MoveArmRequest_<ContainerAllocator> &) { return value(); } 
00284 };
00285 
00286 template<class ContainerAllocator>
00287 struct DataType<corobot_srvs::MoveArmRequest_<ContainerAllocator> > {
00288   static const char* value() 
00289   {
00290     return "corobot_srvs/MoveArm";
00291   }
00292 
00293   static const char* value(const corobot_srvs::MoveArmRequest_<ContainerAllocator> &) { return value(); } 
00294 };
00295 
00296 template<class ContainerAllocator>
00297 struct MD5Sum<corobot_srvs::MoveArmResponse_<ContainerAllocator> > {
00298   static const char* value() 
00299   {
00300     return "a1be394c2aee43a6bffa73f110d3b5de";
00301   }
00302 
00303   static const char* value(const corobot_srvs::MoveArmResponse_<ContainerAllocator> &) { return value(); } 
00304 };
00305 
00306 template<class ContainerAllocator>
00307 struct DataType<corobot_srvs::MoveArmResponse_<ContainerAllocator> > {
00308   static const char* value() 
00309   {
00310     return "corobot_srvs/MoveArm";
00311   }
00312 
00313   static const char* value(const corobot_srvs::MoveArmResponse_<ContainerAllocator> &) { return value(); } 
00314 };
00315 
00316 } // namespace service_traits
00317 } // namespace ros
00318 
00319 #endif // COROBOT_SRVS_SERVICE_MOVEARM_H
00320 


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