MotorPWM.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tu-darmstadt-ros-pkg/doc_stacks/2013-07-15_16-41-51.015503/hector_quadrotor/hector_uav_msgs/msg/MotorPWM.msg */
00002 #ifndef HECTOR_UAV_MSGS_MESSAGE_MOTORPWM_H
00003 #define HECTOR_UAV_MSGS_MESSAGE_MOTORPWM_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 "std_msgs/Header.h"
00018 
00019 namespace hector_uav_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct MotorPWM_ {
00023   typedef MotorPWM_<ContainerAllocator> Type;
00024 
00025   MotorPWM_()
00026   : header()
00027   , pwm()
00028   {
00029   }
00030 
00031   MotorPWM_(const ContainerAllocator& _alloc)
00032   : header(_alloc)
00033   , pwm(_alloc)
00034   {
00035   }
00036 
00037   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00038    ::std_msgs::Header_<ContainerAllocator>  header;
00039 
00040   typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  _pwm_type;
00041   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  pwm;
00042 
00043 
00044   typedef boost::shared_ptr< ::hector_uav_msgs::MotorPWM_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::hector_uav_msgs::MotorPWM_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct MotorPWM
00048 typedef  ::hector_uav_msgs::MotorPWM_<std::allocator<void> > MotorPWM;
00049 
00050 typedef boost::shared_ptr< ::hector_uav_msgs::MotorPWM> MotorPWMPtr;
00051 typedef boost::shared_ptr< ::hector_uav_msgs::MotorPWM const> MotorPWMConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::hector_uav_msgs::MotorPWM_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::hector_uav_msgs::MotorPWM_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace hector_uav_msgs
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::hector_uav_msgs::MotorPWM_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::hector_uav_msgs::MotorPWM_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::hector_uav_msgs::MotorPWM_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "42f78dd80f99e0208248b8a257b8a645";
00073   }
00074 
00075   static const char* value(const  ::hector_uav_msgs::MotorPWM_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x42f78dd80f99e020ULL;
00077   static const uint64_t static_value2 = 0x8248b8a257b8a645ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::hector_uav_msgs::MotorPWM_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "hector_uav_msgs/MotorPWM";
00085   }
00086 
00087   static const char* value(const  ::hector_uav_msgs::MotorPWM_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::hector_uav_msgs::MotorPWM_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "Header header\n\
00095 uint8[] pwm\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: std_msgs/Header\n\
00099 # Standard metadata for higher-level stamped data types.\n\
00100 # This is generally used to communicate timestamped data \n\
00101 # in a particular coordinate frame.\n\
00102 # \n\
00103 # sequence ID: consecutively increasing ID \n\
00104 uint32 seq\n\
00105 #Two-integer timestamp that is expressed as:\n\
00106 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00107 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00108 # time-handling sugar is provided by the client library\n\
00109 time stamp\n\
00110 #Frame this data is associated with\n\
00111 # 0: no frame\n\
00112 # 1: global frame\n\
00113 string frame_id\n\
00114 \n\
00115 ";
00116   }
00117 
00118   static const char* value(const  ::hector_uav_msgs::MotorPWM_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 template<class ContainerAllocator> struct HasHeader< ::hector_uav_msgs::MotorPWM_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct HasHeader< const ::hector_uav_msgs::MotorPWM_<ContainerAllocator> > : public TrueType {};
00123 } // namespace message_traits
00124 } // namespace ros
00125 
00126 namespace ros
00127 {
00128 namespace serialization
00129 {
00130 
00131 template<class ContainerAllocator> struct Serializer< ::hector_uav_msgs::MotorPWM_<ContainerAllocator> >
00132 {
00133   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00134   {
00135     stream.next(m.header);
00136     stream.next(m.pwm);
00137   }
00138 
00139   ROS_DECLARE_ALLINONE_SERIALIZER;
00140 }; // struct MotorPWM_
00141 } // namespace serialization
00142 } // namespace ros
00143 
00144 namespace ros
00145 {
00146 namespace message_operations
00147 {
00148 
00149 template<class ContainerAllocator>
00150 struct Printer< ::hector_uav_msgs::MotorPWM_<ContainerAllocator> >
00151 {
00152   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hector_uav_msgs::MotorPWM_<ContainerAllocator> & v) 
00153   {
00154     s << indent << "header: ";
00155 s << std::endl;
00156     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00157     s << indent << "pwm[]" << std::endl;
00158     for (size_t i = 0; i < v.pwm.size(); ++i)
00159     {
00160       s << indent << "  pwm[" << i << "]: ";
00161       Printer<uint8_t>::stream(s, indent + "  ", v.pwm[i]);
00162     }
00163   }
00164 };
00165 
00166 
00167 } // namespace message_operations
00168 } // namespace ros
00169 
00170 #endif // HECTOR_UAV_MSGS_MESSAGE_MOTORPWM_H
00171 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


hector_uav_msgs
Author(s): Johannes Meyer
autogenerated on Mon Jul 15 2013 16:48:08