GetJointProperties.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-simulator_gazebo/doc_stacks/2014-01-05_11-32-34.493080/simulator_gazebo/gazebo_msgs/srv/GetJointProperties.srv */
00002 #ifndef GAZEBO_MSGS_SERVICE_GETJOINTPROPERTIES_H
00003 #define GAZEBO_MSGS_SERVICE_GETJOINTPROPERTIES_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 gazebo_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct GetJointPropertiesRequest_ {
00026   typedef GetJointPropertiesRequest_<ContainerAllocator> Type;
00027 
00028   GetJointPropertiesRequest_()
00029   : joint_name()
00030   {
00031   }
00032 
00033   GetJointPropertiesRequest_(const ContainerAllocator& _alloc)
00034   : joint_name(_alloc)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _joint_name_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  joint_name;
00040 
00041 
00042   typedef boost::shared_ptr< ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> > Ptr;
00043   typedef boost::shared_ptr< ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator>  const> ConstPtr;
00044   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 }; // struct GetJointPropertiesRequest
00046 typedef  ::gazebo_msgs::GetJointPropertiesRequest_<std::allocator<void> > GetJointPropertiesRequest;
00047 
00048 typedef boost::shared_ptr< ::gazebo_msgs::GetJointPropertiesRequest> GetJointPropertiesRequestPtr;
00049 typedef boost::shared_ptr< ::gazebo_msgs::GetJointPropertiesRequest const> GetJointPropertiesRequestConstPtr;
00050 
00051 
00052 template <class ContainerAllocator>
00053 struct GetJointPropertiesResponse_ {
00054   typedef GetJointPropertiesResponse_<ContainerAllocator> Type;
00055 
00056   GetJointPropertiesResponse_()
00057   : type(0)
00058   , damping()
00059   , position()
00060   , rate()
00061   , success(false)
00062   , status_message()
00063   {
00064   }
00065 
00066   GetJointPropertiesResponse_(const ContainerAllocator& _alloc)
00067   : type(0)
00068   , damping(_alloc)
00069   , position(_alloc)
00070   , rate(_alloc)
00071   , success(false)
00072   , status_message(_alloc)
00073   {
00074   }
00075 
00076   typedef uint8_t _type_type;
00077   uint8_t type;
00078 
00079   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _damping_type;
00080   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  damping;
00081 
00082   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _position_type;
00083   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  position;
00084 
00085   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _rate_type;
00086   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  rate;
00087 
00088   typedef uint8_t _success_type;
00089   uint8_t success;
00090 
00091   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _status_message_type;
00092   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  status_message;
00093 
00094   enum { REVOLUTE = 0 };
00095   enum { CONTINUOUS = 1 };
00096   enum { PRISMATIC = 2 };
00097   enum { FIXED = 3 };
00098   enum { BALL = 4 };
00099   enum { UNIVERSAL = 5 };
00100 
00101   typedef boost::shared_ptr< ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> > Ptr;
00102   typedef boost::shared_ptr< ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator>  const> ConstPtr;
00103   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00104 }; // struct GetJointPropertiesResponse
00105 typedef  ::gazebo_msgs::GetJointPropertiesResponse_<std::allocator<void> > GetJointPropertiesResponse;
00106 
00107 typedef boost::shared_ptr< ::gazebo_msgs::GetJointPropertiesResponse> GetJointPropertiesResponsePtr;
00108 typedef boost::shared_ptr< ::gazebo_msgs::GetJointPropertiesResponse const> GetJointPropertiesResponseConstPtr;
00109 
00110 struct GetJointProperties
00111 {
00112 
00113 typedef GetJointPropertiesRequest Request;
00114 typedef GetJointPropertiesResponse Response;
00115 Request request;
00116 Response response;
00117 
00118 typedef Request RequestType;
00119 typedef Response ResponseType;
00120 }; // struct GetJointProperties
00121 } // namespace gazebo_msgs
00122 
00123 namespace ros
00124 {
00125 namespace message_traits
00126 {
00127 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> > : public TrueType {};
00128 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator>  const> : public TrueType {};
00129 template<class ContainerAllocator>
00130 struct MD5Sum< ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> > {
00131   static const char* value() 
00132   {
00133     return "0be1351618e1dc030eb7959d9a4902de";
00134   }
00135 
00136   static const char* value(const  ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 
00137   static const uint64_t static_value1 = 0x0be1351618e1dc03ULL;
00138   static const uint64_t static_value2 = 0x0eb7959d9a4902deULL;
00139 };
00140 
00141 template<class ContainerAllocator>
00142 struct DataType< ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> > {
00143   static const char* value() 
00144   {
00145     return "gazebo_msgs/GetJointPropertiesRequest";
00146   }
00147 
00148   static const char* value(const  ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 
00149 };
00150 
00151 template<class ContainerAllocator>
00152 struct Definition< ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> > {
00153   static const char* value() 
00154   {
00155     return "string joint_name\n\
00156 \n\
00157 ";
00158   }
00159 
00160   static const char* value(const  ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 
00161 };
00162 
00163 } // namespace message_traits
00164 } // namespace ros
00165 
00166 
00167 namespace ros
00168 {
00169 namespace message_traits
00170 {
00171 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> > : public TrueType {};
00172 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator>  const> : public TrueType {};
00173 template<class ContainerAllocator>
00174 struct MD5Sum< ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> > {
00175   static const char* value() 
00176   {
00177     return "cd7b30a39faa372283dc94c5f6457f82";
00178   }
00179 
00180   static const char* value(const  ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 
00181   static const uint64_t static_value1 = 0xcd7b30a39faa3722ULL;
00182   static const uint64_t static_value2 = 0x83dc94c5f6457f82ULL;
00183 };
00184 
00185 template<class ContainerAllocator>
00186 struct DataType< ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> > {
00187   static const char* value() 
00188   {
00189     return "gazebo_msgs/GetJointPropertiesResponse";
00190   }
00191 
00192   static const char* value(const  ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 
00193 };
00194 
00195 template<class ContainerAllocator>
00196 struct Definition< ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> > {
00197   static const char* value() 
00198   {
00199     return "\n\
00200 uint8 type\n\
00201 uint8 REVOLUTE    = 0\n\
00202 uint8 CONTINUOUS  = 1\n\
00203 uint8 PRISMATIC   = 2\n\
00204 uint8 FIXED       = 3\n\
00205 uint8 BALL        = 4\n\
00206 uint8 UNIVERSAL   = 5\n\
00207 \n\
00208 float64[] damping\n\
00209 \n\
00210 float64[] position\n\
00211 float64[] rate\n\
00212 \n\
00213 bool success\n\
00214 string status_message\n\
00215 \n\
00216 \n\
00217 ";
00218   }
00219 
00220   static const char* value(const  ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 
00221 };
00222 
00223 } // namespace message_traits
00224 } // namespace ros
00225 
00226 namespace ros
00227 {
00228 namespace serialization
00229 {
00230 
00231 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> >
00232 {
00233   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00234   {
00235     stream.next(m.joint_name);
00236   }
00237 
00238   ROS_DECLARE_ALLINONE_SERIALIZER;
00239 }; // struct GetJointPropertiesRequest_
00240 } // namespace serialization
00241 } // namespace ros
00242 
00243 
00244 namespace ros
00245 {
00246 namespace serialization
00247 {
00248 
00249 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> >
00250 {
00251   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00252   {
00253     stream.next(m.type);
00254     stream.next(m.damping);
00255     stream.next(m.position);
00256     stream.next(m.rate);
00257     stream.next(m.success);
00258     stream.next(m.status_message);
00259   }
00260 
00261   ROS_DECLARE_ALLINONE_SERIALIZER;
00262 }; // struct GetJointPropertiesResponse_
00263 } // namespace serialization
00264 } // namespace ros
00265 
00266 namespace ros
00267 {
00268 namespace service_traits
00269 {
00270 template<>
00271 struct MD5Sum<gazebo_msgs::GetJointProperties> {
00272   static const char* value() 
00273   {
00274     return "7b30be900f50aa21efec4a0ec92d91c9";
00275   }
00276 
00277   static const char* value(const gazebo_msgs::GetJointProperties&) { return value(); } 
00278 };
00279 
00280 template<>
00281 struct DataType<gazebo_msgs::GetJointProperties> {
00282   static const char* value() 
00283   {
00284     return "gazebo_msgs/GetJointProperties";
00285   }
00286 
00287   static const char* value(const gazebo_msgs::GetJointProperties&) { return value(); } 
00288 };
00289 
00290 template<class ContainerAllocator>
00291 struct MD5Sum<gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> > {
00292   static const char* value() 
00293   {
00294     return "7b30be900f50aa21efec4a0ec92d91c9";
00295   }
00296 
00297   static const char* value(const gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 
00298 };
00299 
00300 template<class ContainerAllocator>
00301 struct DataType<gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> > {
00302   static const char* value() 
00303   {
00304     return "gazebo_msgs/GetJointProperties";
00305   }
00306 
00307   static const char* value(const gazebo_msgs::GetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 
00308 };
00309 
00310 template<class ContainerAllocator>
00311 struct MD5Sum<gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> > {
00312   static const char* value() 
00313   {
00314     return "7b30be900f50aa21efec4a0ec92d91c9";
00315   }
00316 
00317   static const char* value(const gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 
00318 };
00319 
00320 template<class ContainerAllocator>
00321 struct DataType<gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> > {
00322   static const char* value() 
00323   {
00324     return "gazebo_msgs/GetJointProperties";
00325   }
00326 
00327   static const char* value(const gazebo_msgs::GetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 
00328 };
00329 
00330 } // namespace service_traits
00331 } // namespace ros
00332 
00333 #endif // GAZEBO_MSGS_SERVICE_GETJOINTPROPERTIES_H
00334 


gazebo_msgs
Author(s): John Hsu
autogenerated on Sun Jan 5 2014 11:34:32