ApplyBodyWrench.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/ApplyBodyWrench.srv */
00002 #ifndef GAZEBO_MSGS_SERVICE_APPLYBODYWRENCH_H
00003 #define GAZEBO_MSGS_SERVICE_APPLYBODYWRENCH_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 #include "geometry_msgs/Point.h"
00020 #include "geometry_msgs/Wrench.h"
00021 
00022 
00023 
00024 namespace gazebo_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct ApplyBodyWrenchRequest_ {
00028   typedef ApplyBodyWrenchRequest_<ContainerAllocator> Type;
00029 
00030   ApplyBodyWrenchRequest_()
00031   : body_name()
00032   , reference_frame()
00033   , reference_point()
00034   , wrench()
00035   , start_time()
00036   , duration()
00037   {
00038   }
00039 
00040   ApplyBodyWrenchRequest_(const ContainerAllocator& _alloc)
00041   : body_name(_alloc)
00042   , reference_frame(_alloc)
00043   , reference_point(_alloc)
00044   , wrench(_alloc)
00045   , start_time()
00046   , duration()
00047   {
00048   }
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _body_name_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  body_name;
00052 
00053   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _reference_frame_type;
00054   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  reference_frame;
00055 
00056   typedef  ::geometry_msgs::Point_<ContainerAllocator>  _reference_point_type;
00057    ::geometry_msgs::Point_<ContainerAllocator>  reference_point;
00058 
00059   typedef  ::geometry_msgs::Wrench_<ContainerAllocator>  _wrench_type;
00060    ::geometry_msgs::Wrench_<ContainerAllocator>  wrench;
00061 
00062   typedef ros::Time _start_time_type;
00063   ros::Time start_time;
00064 
00065   typedef ros::Duration _duration_type;
00066   ros::Duration duration;
00067 
00068 
00069   typedef boost::shared_ptr< ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct ApplyBodyWrenchRequest
00073 typedef  ::gazebo_msgs::ApplyBodyWrenchRequest_<std::allocator<void> > ApplyBodyWrenchRequest;
00074 
00075 typedef boost::shared_ptr< ::gazebo_msgs::ApplyBodyWrenchRequest> ApplyBodyWrenchRequestPtr;
00076 typedef boost::shared_ptr< ::gazebo_msgs::ApplyBodyWrenchRequest const> ApplyBodyWrenchRequestConstPtr;
00077 
00078 
00079 template <class ContainerAllocator>
00080 struct ApplyBodyWrenchResponse_ {
00081   typedef ApplyBodyWrenchResponse_<ContainerAllocator> Type;
00082 
00083   ApplyBodyWrenchResponse_()
00084   : success(false)
00085   , status_message()
00086   {
00087   }
00088 
00089   ApplyBodyWrenchResponse_(const ContainerAllocator& _alloc)
00090   : success(false)
00091   , status_message(_alloc)
00092   {
00093   }
00094 
00095   typedef uint8_t _success_type;
00096   uint8_t success;
00097 
00098   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _status_message_type;
00099   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  status_message;
00100 
00101 
00102   typedef boost::shared_ptr< ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> > Ptr;
00103   typedef boost::shared_ptr< ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator>  const> ConstPtr;
00104   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00105 }; // struct ApplyBodyWrenchResponse
00106 typedef  ::gazebo_msgs::ApplyBodyWrenchResponse_<std::allocator<void> > ApplyBodyWrenchResponse;
00107 
00108 typedef boost::shared_ptr< ::gazebo_msgs::ApplyBodyWrenchResponse> ApplyBodyWrenchResponsePtr;
00109 typedef boost::shared_ptr< ::gazebo_msgs::ApplyBodyWrenchResponse const> ApplyBodyWrenchResponseConstPtr;
00110 
00111 struct ApplyBodyWrench
00112 {
00113 
00114 typedef ApplyBodyWrenchRequest Request;
00115 typedef ApplyBodyWrenchResponse Response;
00116 Request request;
00117 Response response;
00118 
00119 typedef Request RequestType;
00120 typedef Response ResponseType;
00121 }; // struct ApplyBodyWrench
00122 } // namespace gazebo_msgs
00123 
00124 namespace ros
00125 {
00126 namespace message_traits
00127 {
00128 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> > : public TrueType {};
00129 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator>  const> : public TrueType {};
00130 template<class ContainerAllocator>
00131 struct MD5Sum< ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "e37e6adf97eba5095baa77dffb71e5bd";
00135   }
00136 
00137   static const char* value(const  ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> &) { return value(); } 
00138   static const uint64_t static_value1 = 0xe37e6adf97eba509ULL;
00139   static const uint64_t static_value2 = 0x5baa77dffb71e5bdULL;
00140 };
00141 
00142 template<class ContainerAllocator>
00143 struct DataType< ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> > {
00144   static const char* value() 
00145   {
00146     return "gazebo_msgs/ApplyBodyWrenchRequest";
00147   }
00148 
00149   static const char* value(const  ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> &) { return value(); } 
00150 };
00151 
00152 template<class ContainerAllocator>
00153 struct Definition< ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> > {
00154   static const char* value() 
00155   {
00156     return "\n\
00157 \n\
00158 \n\
00159 string body_name\n\
00160 \n\
00161 \n\
00162 string reference_frame\n\
00163 \n\
00164 \n\
00165 geometry_msgs/Point  reference_point\n\
00166 geometry_msgs/Wrench wrench\n\
00167 time start_time\n\
00168 \n\
00169 \n\
00170 duration duration\n\
00171 \n\
00172 \n\
00173 \n\
00174 \n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: geometry_msgs/Point\n\
00178 # This contains the position of a point in free space\n\
00179 float64 x\n\
00180 float64 y\n\
00181 float64 z\n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: geometry_msgs/Wrench\n\
00185 # This represents force in free space, seperated into \n\
00186 # it's linear and angular parts.  \n\
00187 Vector3  force\n\
00188 Vector3  torque\n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: geometry_msgs/Vector3\n\
00192 # This represents a vector in free space. \n\
00193 \n\
00194 float64 x\n\
00195 float64 y\n\
00196 float64 z\n\
00197 ";
00198   }
00199 
00200   static const char* value(const  ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> &) { return value(); } 
00201 };
00202 
00203 } // namespace message_traits
00204 } // namespace ros
00205 
00206 
00207 namespace ros
00208 {
00209 namespace message_traits
00210 {
00211 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> > : public TrueType {};
00212 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator>  const> : public TrueType {};
00213 template<class ContainerAllocator>
00214 struct MD5Sum< ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> > {
00215   static const char* value() 
00216   {
00217     return "2ec6f3eff0161f4257b808b12bc830c2";
00218   }
00219 
00220   static const char* value(const  ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> &) { return value(); } 
00221   static const uint64_t static_value1 = 0x2ec6f3eff0161f42ULL;
00222   static const uint64_t static_value2 = 0x57b808b12bc830c2ULL;
00223 };
00224 
00225 template<class ContainerAllocator>
00226 struct DataType< ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> > {
00227   static const char* value() 
00228   {
00229     return "gazebo_msgs/ApplyBodyWrenchResponse";
00230   }
00231 
00232   static const char* value(const  ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> &) { return value(); } 
00233 };
00234 
00235 template<class ContainerAllocator>
00236 struct Definition< ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> > {
00237   static const char* value() 
00238   {
00239     return "bool success\n\
00240 string status_message\n\
00241 \n\
00242 \n\
00243 ";
00244   }
00245 
00246   static const char* value(const  ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> &) { return value(); } 
00247 };
00248 
00249 } // namespace message_traits
00250 } // namespace ros
00251 
00252 namespace ros
00253 {
00254 namespace serialization
00255 {
00256 
00257 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> >
00258 {
00259   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00260   {
00261     stream.next(m.body_name);
00262     stream.next(m.reference_frame);
00263     stream.next(m.reference_point);
00264     stream.next(m.wrench);
00265     stream.next(m.start_time);
00266     stream.next(m.duration);
00267   }
00268 
00269   ROS_DECLARE_ALLINONE_SERIALIZER;
00270 }; // struct ApplyBodyWrenchRequest_
00271 } // namespace serialization
00272 } // namespace ros
00273 
00274 
00275 namespace ros
00276 {
00277 namespace serialization
00278 {
00279 
00280 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> >
00281 {
00282   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00283   {
00284     stream.next(m.success);
00285     stream.next(m.status_message);
00286   }
00287 
00288   ROS_DECLARE_ALLINONE_SERIALIZER;
00289 }; // struct ApplyBodyWrenchResponse_
00290 } // namespace serialization
00291 } // namespace ros
00292 
00293 namespace ros
00294 {
00295 namespace service_traits
00296 {
00297 template<>
00298 struct MD5Sum<gazebo_msgs::ApplyBodyWrench> {
00299   static const char* value() 
00300   {
00301     return "585b9f9618aa0581b207e2f2d90866bc";
00302   }
00303 
00304   static const char* value(const gazebo_msgs::ApplyBodyWrench&) { return value(); } 
00305 };
00306 
00307 template<>
00308 struct DataType<gazebo_msgs::ApplyBodyWrench> {
00309   static const char* value() 
00310   {
00311     return "gazebo_msgs/ApplyBodyWrench";
00312   }
00313 
00314   static const char* value(const gazebo_msgs::ApplyBodyWrench&) { return value(); } 
00315 };
00316 
00317 template<class ContainerAllocator>
00318 struct MD5Sum<gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> > {
00319   static const char* value() 
00320   {
00321     return "585b9f9618aa0581b207e2f2d90866bc";
00322   }
00323 
00324   static const char* value(const gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> &) { return value(); } 
00325 };
00326 
00327 template<class ContainerAllocator>
00328 struct DataType<gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> > {
00329   static const char* value() 
00330   {
00331     return "gazebo_msgs/ApplyBodyWrench";
00332   }
00333 
00334   static const char* value(const gazebo_msgs::ApplyBodyWrenchRequest_<ContainerAllocator> &) { return value(); } 
00335 };
00336 
00337 template<class ContainerAllocator>
00338 struct MD5Sum<gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> > {
00339   static const char* value() 
00340   {
00341     return "585b9f9618aa0581b207e2f2d90866bc";
00342   }
00343 
00344   static const char* value(const gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> &) { return value(); } 
00345 };
00346 
00347 template<class ContainerAllocator>
00348 struct DataType<gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> > {
00349   static const char* value() 
00350   {
00351     return "gazebo_msgs/ApplyBodyWrench";
00352   }
00353 
00354   static const char* value(const gazebo_msgs::ApplyBodyWrenchResponse_<ContainerAllocator> &) { return value(); } 
00355 };
00356 
00357 } // namespace service_traits
00358 } // namespace ros
00359 
00360 #endif // GAZEBO_MSGS_SERVICE_APPLYBODYWRENCH_H
00361 


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