Go to the documentation of this file.00001
00002 #ifndef OPENRAVE_MSGS_SERVICE_STARTTORQUE_H
00003 #define OPENRAVE_MSGS_SERVICE_STARTTORQUE_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 openrave_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct StartTorqueRequest_ {
00026 typedef StartTorqueRequest_<ContainerAllocator> Type;
00027
00028 StartTorqueRequest_()
00029 : torques()
00030 {
00031 }
00032
00033 StartTorqueRequest_(const ContainerAllocator& _alloc)
00034 : torques(_alloc)
00035 {
00036 }
00037
00038 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _torques_type;
00039 std::vector<float, typename ContainerAllocator::template rebind<float>::other > torques;
00040
00041
00042 typedef boost::shared_ptr< ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::openrave_msgs::StartTorqueRequest_<std::allocator<void> > StartTorqueRequest;
00047
00048 typedef boost::shared_ptr< ::openrave_msgs::StartTorqueRequest> StartTorqueRequestPtr;
00049 typedef boost::shared_ptr< ::openrave_msgs::StartTorqueRequest const> StartTorqueRequestConstPtr;
00050
00051
00052 template <class ContainerAllocator>
00053 struct StartTorqueResponse_ {
00054 typedef StartTorqueResponse_<ContainerAllocator> Type;
00055
00056 StartTorqueResponse_()
00057 : commandid(0)
00058 , stamp()
00059 {
00060 }
00061
00062 StartTorqueResponse_(const ContainerAllocator& _alloc)
00063 : commandid(0)
00064 , stamp()
00065 {
00066 }
00067
00068 typedef uint32_t _commandid_type;
00069 uint32_t commandid;
00070
00071 typedef ros::Time _stamp_type;
00072 ros::Time stamp;
00073
00074
00075 typedef boost::shared_ptr< ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> > Ptr;
00076 typedef boost::shared_ptr< ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> const> ConstPtr;
00077 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00078 };
00079 typedef ::openrave_msgs::StartTorqueResponse_<std::allocator<void> > StartTorqueResponse;
00080
00081 typedef boost::shared_ptr< ::openrave_msgs::StartTorqueResponse> StartTorqueResponsePtr;
00082 typedef boost::shared_ptr< ::openrave_msgs::StartTorqueResponse const> StartTorqueResponseConstPtr;
00083
00084 struct StartTorque
00085 {
00086
00087 typedef StartTorqueRequest Request;
00088 typedef StartTorqueResponse Response;
00089 Request request;
00090 Response response;
00091
00092 typedef Request RequestType;
00093 typedef Response ResponseType;
00094 };
00095 }
00096
00097 namespace ros
00098 {
00099 namespace message_traits
00100 {
00101 template<class ContainerAllocator> struct IsMessage< ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> > : public TrueType {};
00102 template<class ContainerAllocator> struct IsMessage< ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> const> : public TrueType {};
00103 template<class ContainerAllocator>
00104 struct MD5Sum< ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "eee8a087b75bc454bfb2231a0ca7e0f2";
00108 }
00109
00110 static const char* value(const ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> &) { return value(); }
00111 static const uint64_t static_value1 = 0xeee8a087b75bc454ULL;
00112 static const uint64_t static_value2 = 0xbfb2231a0ca7e0f2ULL;
00113 };
00114
00115 template<class ContainerAllocator>
00116 struct DataType< ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "openrave_msgs/StartTorqueRequest";
00120 }
00121
00122 static const char* value(const ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> &) { return value(); }
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct Definition< ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "float32[] torques\n\
00130 \n\
00131 ";
00132 }
00133
00134 static const char* value(const ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 }
00138 }
00139
00140
00141 namespace ros
00142 {
00143 namespace message_traits
00144 {
00145 template<class ContainerAllocator> struct IsMessage< ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> > : public TrueType {};
00146 template<class ContainerAllocator> struct IsMessage< ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> const> : public TrueType {};
00147 template<class ContainerAllocator>
00148 struct MD5Sum< ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> > {
00149 static const char* value()
00150 {
00151 return "cb11469af8a869365ec6e4bdd2098698";
00152 }
00153
00154 static const char* value(const ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> &) { return value(); }
00155 static const uint64_t static_value1 = 0xcb11469af8a86936ULL;
00156 static const uint64_t static_value2 = 0x5ec6e4bdd2098698ULL;
00157 };
00158
00159 template<class ContainerAllocator>
00160 struct DataType< ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> > {
00161 static const char* value()
00162 {
00163 return "openrave_msgs/StartTorqueResponse";
00164 }
00165
00166 static const char* value(const ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> &) { return value(); }
00167 };
00168
00169 template<class ContainerAllocator>
00170 struct Definition< ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> > {
00171 static const char* value()
00172 {
00173 return "uint32 commandid\n\
00174 time stamp\n\
00175 \n\
00176 \n\
00177 ";
00178 }
00179
00180 static const char* value(const ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> &) { return value(); }
00181 };
00182
00183 template<class ContainerAllocator> struct IsFixedSize< ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> > : public TrueType {};
00184 }
00185 }
00186
00187 namespace ros
00188 {
00189 namespace serialization
00190 {
00191
00192 template<class ContainerAllocator> struct Serializer< ::openrave_msgs::StartTorqueRequest_<ContainerAllocator> >
00193 {
00194 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00195 {
00196 stream.next(m.torques);
00197 }
00198
00199 ROS_DECLARE_ALLINONE_SERIALIZER;
00200 };
00201 }
00202 }
00203
00204
00205 namespace ros
00206 {
00207 namespace serialization
00208 {
00209
00210 template<class ContainerAllocator> struct Serializer< ::openrave_msgs::StartTorqueResponse_<ContainerAllocator> >
00211 {
00212 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00213 {
00214 stream.next(m.commandid);
00215 stream.next(m.stamp);
00216 }
00217
00218 ROS_DECLARE_ALLINONE_SERIALIZER;
00219 };
00220 }
00221 }
00222
00223 namespace ros
00224 {
00225 namespace service_traits
00226 {
00227 template<>
00228 struct MD5Sum<openrave_msgs::StartTorque> {
00229 static const char* value()
00230 {
00231 return "331231ad079061671fcf40e10317ba13";
00232 }
00233
00234 static const char* value(const openrave_msgs::StartTorque&) { return value(); }
00235 };
00236
00237 template<>
00238 struct DataType<openrave_msgs::StartTorque> {
00239 static const char* value()
00240 {
00241 return "openrave_msgs/StartTorque";
00242 }
00243
00244 static const char* value(const openrave_msgs::StartTorque&) { return value(); }
00245 };
00246
00247 template<class ContainerAllocator>
00248 struct MD5Sum<openrave_msgs::StartTorqueRequest_<ContainerAllocator> > {
00249 static const char* value()
00250 {
00251 return "331231ad079061671fcf40e10317ba13";
00252 }
00253
00254 static const char* value(const openrave_msgs::StartTorqueRequest_<ContainerAllocator> &) { return value(); }
00255 };
00256
00257 template<class ContainerAllocator>
00258 struct DataType<openrave_msgs::StartTorqueRequest_<ContainerAllocator> > {
00259 static const char* value()
00260 {
00261 return "openrave_msgs/StartTorque";
00262 }
00263
00264 static const char* value(const openrave_msgs::StartTorqueRequest_<ContainerAllocator> &) { return value(); }
00265 };
00266
00267 template<class ContainerAllocator>
00268 struct MD5Sum<openrave_msgs::StartTorqueResponse_<ContainerAllocator> > {
00269 static const char* value()
00270 {
00271 return "331231ad079061671fcf40e10317ba13";
00272 }
00273
00274 static const char* value(const openrave_msgs::StartTorqueResponse_<ContainerAllocator> &) { return value(); }
00275 };
00276
00277 template<class ContainerAllocator>
00278 struct DataType<openrave_msgs::StartTorqueResponse_<ContainerAllocator> > {
00279 static const char* value()
00280 {
00281 return "openrave_msgs/StartTorque";
00282 }
00283
00284 static const char* value(const openrave_msgs::StartTorqueResponse_<ContainerAllocator> &) { return value(); }
00285 };
00286
00287 }
00288 }
00289
00290 #endif // OPENRAVE_MSGS_SERVICE_STARTTORQUE_H
00291