IOadrCommand.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-art_vehicle/doc_stacks/2014-01-03_11-05-32.392273/art_vehicle/art_msgs/msg/IOadrCommand.msg */
00002 #ifndef ART_MSGS_MESSAGE_IOADRCOMMAND_H
00003 #define ART_MSGS_MESSAGE_IOADRCOMMAND_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 IOadrCommand_ {
00023   typedef IOadrCommand_<ContainerAllocator> Type;
00024 
00025   IOadrCommand_()
00026   : header()
00027   , relays_on(0)
00028   , relays_off(0)
00029   {
00030   }
00031 
00032   IOadrCommand_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , relays_on(0)
00035   , relays_off(0)
00036   {
00037   }
00038 
00039   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00040    ::std_msgs::Header_<ContainerAllocator>  header;
00041 
00042   typedef uint8_t _relays_on_type;
00043   uint8_t relays_on;
00044 
00045   typedef uint8_t _relays_off_type;
00046   uint8_t relays_off;
00047 
00048 
00049   typedef boost::shared_ptr< ::art_msgs::IOadrCommand_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::art_msgs::IOadrCommand_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct IOadrCommand
00053 typedef  ::art_msgs::IOadrCommand_<std::allocator<void> > IOadrCommand;
00054 
00055 typedef boost::shared_ptr< ::art_msgs::IOadrCommand> IOadrCommandPtr;
00056 typedef boost::shared_ptr< ::art_msgs::IOadrCommand const> IOadrCommandConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::IOadrCommand_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::art_msgs::IOadrCommand_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace art_msgs
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::art_msgs::IOadrCommand_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::art_msgs::IOadrCommand_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::art_msgs::IOadrCommand_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "1ba0a21767ee8a4bb7c80945f20b670c";
00078   }
00079 
00080   static const char* value(const  ::art_msgs::IOadrCommand_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x1ba0a21767ee8a4bULL;
00082   static const uint64_t static_value2 = 0xb7c80945f20b670cULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::art_msgs::IOadrCommand_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "art_msgs/IOadrCommand";
00090   }
00091 
00092   static const char* value(const  ::art_msgs::IOadrCommand_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::art_msgs::IOadrCommand_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "# NCD IOADR8x controller command message for ART vehicle\n\
00100 #\n\
00101 # Sets or clears relays.  See: IOadrState for bit definitions.\n\
00102 \n\
00103 # $Id: IOadrCommand.msg 644 2010-09-28 03:19:07Z jack.oquin $\n\
00104 \n\
00105 Header  header          # standard ROS message header\n\
00106 \n\
00107 uint8 relays_on         # relays to set\n\
00108 uint8 relays_off        # relays to clear\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: std_msgs/Header\n\
00112 # Standard metadata for higher-level stamped data types.\n\
00113 # This is generally used to communicate timestamped data \n\
00114 # in a particular coordinate frame.\n\
00115 # \n\
00116 # sequence ID: consecutively increasing ID \n\
00117 uint32 seq\n\
00118 #Two-integer timestamp that is expressed as:\n\
00119 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00120 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00121 # time-handling sugar is provided by the client library\n\
00122 time stamp\n\
00123 #Frame this data is associated with\n\
00124 # 0: no frame\n\
00125 # 1: global frame\n\
00126 string frame_id\n\
00127 \n\
00128 ";
00129   }
00130 
00131   static const char* value(const  ::art_msgs::IOadrCommand_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 template<class ContainerAllocator> struct HasHeader< ::art_msgs::IOadrCommand_<ContainerAllocator> > : public TrueType {};
00135 template<class ContainerAllocator> struct HasHeader< const ::art_msgs::IOadrCommand_<ContainerAllocator> > : public TrueType {};
00136 } // namespace message_traits
00137 } // namespace ros
00138 
00139 namespace ros
00140 {
00141 namespace serialization
00142 {
00143 
00144 template<class ContainerAllocator> struct Serializer< ::art_msgs::IOadrCommand_<ContainerAllocator> >
00145 {
00146   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00147   {
00148     stream.next(m.header);
00149     stream.next(m.relays_on);
00150     stream.next(m.relays_off);
00151   }
00152 
00153   ROS_DECLARE_ALLINONE_SERIALIZER;
00154 }; // struct IOadrCommand_
00155 } // namespace serialization
00156 } // namespace ros
00157 
00158 namespace ros
00159 {
00160 namespace message_operations
00161 {
00162 
00163 template<class ContainerAllocator>
00164 struct Printer< ::art_msgs::IOadrCommand_<ContainerAllocator> >
00165 {
00166   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::IOadrCommand_<ContainerAllocator> & v) 
00167   {
00168     s << indent << "header: ";
00169 s << std::endl;
00170     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00171     s << indent << "relays_on: ";
00172     Printer<uint8_t>::stream(s, indent + "  ", v.relays_on);
00173     s << indent << "relays_off: ";
00174     Printer<uint8_t>::stream(s, indent + "  ", v.relays_off);
00175   }
00176 };
00177 
00178 
00179 } // namespace message_operations
00180 } // namespace ros
00181 
00182 #endif // ART_MSGS_MESSAGE_IOADRCOMMAND_H
00183 


art_msgs
Author(s): Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:05