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


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