ThrottleCommand.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-art_vehicle/doc_stacks/2013-09-24_10-35-44.297713/art_vehicle/art_msgs/msg/ThrottleCommand.msg */
00002 #ifndef ART_MSGS_MESSAGE_THROTTLECOMMAND_H
00003 #define ART_MSGS_MESSAGE_THROTTLECOMMAND_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 art_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ThrottleCommand_ {
00023   typedef ThrottleCommand_<ContainerAllocator> Type;
00024 
00025   ThrottleCommand_()
00026   : header()
00027   , request(0)
00028   , position(0.0)
00029   {
00030   }
00031 
00032   ThrottleCommand_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , request(0)
00035   , position(0.0)
00036   {
00037   }
00038 
00039   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00040    ::std_msgs::Header_<ContainerAllocator>  header;
00041 
00042   typedef uint32_t _request_type;
00043   uint32_t request;
00044 
00045   typedef float _position_type;
00046   float position;
00047 
00048   enum { Absolute = 0 };
00049   enum { Relative = 1 };
00050 
00051   typedef boost::shared_ptr< ::art_msgs::ThrottleCommand_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::art_msgs::ThrottleCommand_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct ThrottleCommand
00055 typedef  ::art_msgs::ThrottleCommand_<std::allocator<void> > ThrottleCommand;
00056 
00057 typedef boost::shared_ptr< ::art_msgs::ThrottleCommand> ThrottleCommandPtr;
00058 typedef boost::shared_ptr< ::art_msgs::ThrottleCommand const> ThrottleCommandConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::ThrottleCommand_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::art_msgs::ThrottleCommand_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace art_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::art_msgs::ThrottleCommand_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::art_msgs::ThrottleCommand_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::art_msgs::ThrottleCommand_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "7d9e24314a55cc39669333e821a84049";
00080   }
00081 
00082   static const char* value(const  ::art_msgs::ThrottleCommand_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x7d9e24314a55cc39ULL;
00084   static const uint64_t static_value2 = 0x669333e821a84049ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::art_msgs::ThrottleCommand_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "art_msgs/ThrottleCommand";
00092   }
00093 
00094   static const char* value(const  ::art_msgs::ThrottleCommand_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::art_msgs::ThrottleCommand_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ART throttle controller command message\n\
00102 \n\
00103 # $Id: ThrottleCommand.msg 644 2010-09-28 03:19:07Z jack.oquin $\n\
00104 \n\
00105 Header  header\n\
00106 \n\
00107 # request types\n\
00108 uint32 Absolute = 0    # set absolute position: 0.0 is off, 1.0 is fully on\n\
00109 uint32 Relative = 1    # change relative to current setting, [-1.0 to 1.0]\n\
00110 \n\
00111 uint32  request                # request type\n\
00112 float32 position               # requested position\n\
00113 \n\
00114 \n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: std_msgs/Header\n\
00118 # Standard metadata for higher-level stamped data types.\n\
00119 # This is generally used to communicate timestamped data \n\
00120 # in a particular coordinate frame.\n\
00121 # \n\
00122 # sequence ID: consecutively increasing ID \n\
00123 uint32 seq\n\
00124 #Two-integer timestamp that is expressed as:\n\
00125 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00126 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00127 # time-handling sugar is provided by the client library\n\
00128 time stamp\n\
00129 #Frame this data is associated with\n\
00130 # 0: no frame\n\
00131 # 1: global frame\n\
00132 string frame_id\n\
00133 \n\
00134 ";
00135   }
00136 
00137   static const char* value(const  ::art_msgs::ThrottleCommand_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator> struct HasHeader< ::art_msgs::ThrottleCommand_<ContainerAllocator> > : public TrueType {};
00141 template<class ContainerAllocator> struct HasHeader< const ::art_msgs::ThrottleCommand_<ContainerAllocator> > : public TrueType {};
00142 } // namespace message_traits
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace serialization
00148 {
00149 
00150 template<class ContainerAllocator> struct Serializer< ::art_msgs::ThrottleCommand_<ContainerAllocator> >
00151 {
00152   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00153   {
00154     stream.next(m.header);
00155     stream.next(m.request);
00156     stream.next(m.position);
00157   }
00158 
00159   ROS_DECLARE_ALLINONE_SERIALIZER;
00160 }; // struct ThrottleCommand_
00161 } // namespace serialization
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace message_operations
00167 {
00168 
00169 template<class ContainerAllocator>
00170 struct Printer< ::art_msgs::ThrottleCommand_<ContainerAllocator> >
00171 {
00172   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::ThrottleCommand_<ContainerAllocator> & v) 
00173   {
00174     s << indent << "header: ";
00175 s << std::endl;
00176     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00177     s << indent << "request: ";
00178     Printer<uint32_t>::stream(s, indent + "  ", v.request);
00179     s << indent << "position: ";
00180     Printer<float>::stream(s, indent + "  ", v.position);
00181   }
00182 };
00183 
00184 
00185 } // namespace message_operations
00186 } // namespace ros
00187 
00188 #endif // ART_MSGS_MESSAGE_THROTTLECOMMAND_H
00189 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


art_msgs
Author(s): Jack O'Quin
autogenerated on Tue Sep 24 2013 10:40:46