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


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