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