ApplyJointEffort.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-simulator_gazebo/doc_stacks/2014-10-06_12-11-14.842894/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 
00068 template <class ContainerAllocator>
00069 struct ApplyJointEffortResponse_ {
00070   typedef ApplyJointEffortResponse_<ContainerAllocator> Type;
00071 
00072   ApplyJointEffortResponse_()
00073   : success(false)
00074   , status_message()
00075   {
00076   }
00077 
00078   ApplyJointEffortResponse_(const ContainerAllocator& _alloc)
00079   : success(false)
00080   , status_message(_alloc)
00081   {
00082   }
00083 
00084   typedef uint8_t _success_type;
00085   uint8_t success;
00086 
00087   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _status_message_type;
00088   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  status_message;
00089 
00090 
00091   typedef boost::shared_ptr< ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> > Ptr;
00092   typedef boost::shared_ptr< ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator>  const> ConstPtr;
00093   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00094 }; // struct ApplyJointEffortResponse
00095 typedef  ::gazebo_msgs::ApplyJointEffortResponse_<std::allocator<void> > ApplyJointEffortResponse;
00096 
00097 typedef boost::shared_ptr< ::gazebo_msgs::ApplyJointEffortResponse> ApplyJointEffortResponsePtr;
00098 typedef boost::shared_ptr< ::gazebo_msgs::ApplyJointEffortResponse const> ApplyJointEffortResponseConstPtr;
00099 
00100 
00101 struct ApplyJointEffort
00102 {
00103 
00104 typedef ApplyJointEffortRequest Request;
00105 typedef ApplyJointEffortResponse Response;
00106 Request request;
00107 Response response;
00108 
00109 typedef Request RequestType;
00110 typedef Response ResponseType;
00111 }; // struct ApplyJointEffort
00112 } // namespace gazebo_msgs
00113 
00114 namespace ros
00115 {
00116 namespace message_traits
00117 {
00118 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> > : public TrueType {};
00119 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator>  const> : public TrueType {};
00120 template<class ContainerAllocator>
00121 struct MD5Sum< ::gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "2c3396ab9af67a509ecd2167a8fe41a2";
00125   }
00126 
00127   static const char* value(const  ::gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> &) { return value(); } 
00128   static const uint64_t static_value1 = 0x2c3396ab9af67a50ULL;
00129   static const uint64_t static_value2 = 0x9ecd2167a8fe41a2ULL;
00130 };
00131 
00132 template<class ContainerAllocator>
00133 struct DataType< ::gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> > {
00134   static const char* value() 
00135   {
00136     return "gazebo_msgs/ApplyJointEffortRequest";
00137   }
00138 
00139   static const char* value(const  ::gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> &) { return value(); } 
00140 };
00141 
00142 template<class ContainerAllocator>
00143 struct Definition< ::gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> > {
00144   static const char* value() 
00145   {
00146     return "\n\
00147 string joint_name\n\
00148 float64 effort\n\
00149 time start_time\n\
00150 \n\
00151 duration duration\n\
00152 \n\
00153 \n\
00154 \n\
00155 \n\
00156 \n\
00157 ";
00158   }
00159 
00160   static const char* value(const  ::gazebo_msgs::ApplyJointEffortRequest_<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::ApplyJointEffortResponse_<ContainerAllocator> > : public TrueType {};
00172 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator>  const> : public TrueType {};
00173 template<class ContainerAllocator>
00174 struct MD5Sum< ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> > {
00175   static const char* value() 
00176   {
00177     return "2ec6f3eff0161f4257b808b12bc830c2";
00178   }
00179 
00180   static const char* value(const  ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> &) { return value(); } 
00181   static const uint64_t static_value1 = 0x2ec6f3eff0161f42ULL;
00182   static const uint64_t static_value2 = 0x57b808b12bc830c2ULL;
00183 };
00184 
00185 template<class ContainerAllocator>
00186 struct DataType< ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> > {
00187   static const char* value() 
00188   {
00189     return "gazebo_msgs/ApplyJointEffortResponse";
00190   }
00191 
00192   static const char* value(const  ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> &) { return value(); } 
00193 };
00194 
00195 template<class ContainerAllocator>
00196 struct Definition< ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> > {
00197   static const char* value() 
00198   {
00199     return "bool success\n\
00200 string status_message\n\
00201 \n\
00202 \n\
00203 ";
00204   }
00205 
00206   static const char* value(const  ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> &) { return value(); } 
00207 };
00208 
00209 } // namespace message_traits
00210 } // namespace ros
00211 
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216 
00217 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> >
00218 {
00219   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220   {
00221     stream.next(m.joint_name);
00222     stream.next(m.effort);
00223     stream.next(m.start_time);
00224     stream.next(m.duration);
00225   }
00226 
00227   ROS_DECLARE_ALLINONE_SERIALIZER;
00228 }; // struct ApplyJointEffortRequest_
00229 } // namespace serialization
00230 } // namespace ros
00231 
00232 
00233 namespace ros
00234 {
00235 namespace serialization
00236 {
00237 
00238 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> >
00239 {
00240   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00241   {
00242     stream.next(m.success);
00243     stream.next(m.status_message);
00244   }
00245 
00246   ROS_DECLARE_ALLINONE_SERIALIZER;
00247 }; // struct ApplyJointEffortResponse_
00248 } // namespace serialization
00249 } // namespace ros
00250 
00251 namespace ros
00252 {
00253 namespace service_traits
00254 {
00255 template<>
00256 struct MD5Sum<gazebo_msgs::ApplyJointEffort> {
00257   static const char* value() 
00258   {
00259     return "c0039811b8cc919490b3cff748cdf46b";
00260   }
00261 
00262   static const char* value(const gazebo_msgs::ApplyJointEffort&) { return value(); } 
00263 };
00264 
00265 template<>
00266 struct DataType<gazebo_msgs::ApplyJointEffort> {
00267   static const char* value() 
00268   {
00269     return "gazebo_msgs/ApplyJointEffort";
00270   }
00271 
00272   static const char* value(const gazebo_msgs::ApplyJointEffort&) { return value(); } 
00273 };
00274 
00275 template<class ContainerAllocator>
00276 struct MD5Sum<gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> > {
00277   static const char* value() 
00278   {
00279     return "c0039811b8cc919490b3cff748cdf46b";
00280   }
00281 
00282   static const char* value(const gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> &) { return value(); } 
00283 };
00284 
00285 template<class ContainerAllocator>
00286 struct DataType<gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> > {
00287   static const char* value() 
00288   {
00289     return "gazebo_msgs/ApplyJointEffort";
00290   }
00291 
00292   static const char* value(const gazebo_msgs::ApplyJointEffortRequest_<ContainerAllocator> &) { return value(); } 
00293 };
00294 
00295 template<class ContainerAllocator>
00296 struct MD5Sum<gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> > {
00297   static const char* value() 
00298   {
00299     return "c0039811b8cc919490b3cff748cdf46b";
00300   }
00301 
00302   static const char* value(const gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> &) { return value(); } 
00303 };
00304 
00305 template<class ContainerAllocator>
00306 struct DataType<gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> > {
00307   static const char* value() 
00308   {
00309     return "gazebo_msgs/ApplyJointEffort";
00310   }
00311 
00312   static const char* value(const gazebo_msgs::ApplyJointEffortResponse_<ContainerAllocator> &) { return value(); } 
00313 };
00314 
00315 } // namespace service_traits
00316 } // namespace ros
00317 
00318 #endif // GAZEBO_MSGS_SERVICE_APPLYJOINTEFFORT_H
00319 


gazebo_msgs
Author(s): John Hsu
autogenerated on Mon Oct 6 2014 12:14:33