FirmwareInfo.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-clearpath_common/doc_stacks/2014-10-05_22-49-25.060876/clearpath_common/clearpath_base/msg/FirmwareInfo.msg */
00002 #ifndef CLEARPATH_BASE_MESSAGE_FIRMWAREINFO_H
00003 #define CLEARPATH_BASE_MESSAGE_FIRMWAREINFO_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 clearpath_base
00020 {
00021 template <class ContainerAllocator>
00022 struct FirmwareInfo_ {
00023   typedef FirmwareInfo_<ContainerAllocator> Type;
00024 
00025   FirmwareInfo_()
00026   : header()
00027   , firmware_major(0)
00028   , firmware_minor(0)
00029   , protocol_major(0)
00030   , protocol_minor(0)
00031   , firmware_write_time(0)
00032   {
00033   }
00034 
00035   FirmwareInfo_(const ContainerAllocator& _alloc)
00036   : header(_alloc)
00037   , firmware_major(0)
00038   , firmware_minor(0)
00039   , protocol_major(0)
00040   , protocol_minor(0)
00041   , firmware_write_time(0)
00042   {
00043   }
00044 
00045   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00046    ::std_msgs::Header_<ContainerAllocator>  header;
00047 
00048   typedef int8_t _firmware_major_type;
00049   int8_t firmware_major;
00050 
00051   typedef int8_t _firmware_minor_type;
00052   int8_t firmware_minor;
00053 
00054   typedef int8_t _protocol_major_type;
00055   int8_t protocol_major;
00056 
00057   typedef int8_t _protocol_minor_type;
00058   int8_t protocol_minor;
00059 
00060   typedef uint32_t _firmware_write_time_type;
00061   uint32_t firmware_write_time;
00062 
00063 
00064   typedef boost::shared_ptr< ::clearpath_base::FirmwareInfo_<ContainerAllocator> > Ptr;
00065   typedef boost::shared_ptr< ::clearpath_base::FirmwareInfo_<ContainerAllocator>  const> ConstPtr;
00066   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00067 }; // struct FirmwareInfo
00068 typedef  ::clearpath_base::FirmwareInfo_<std::allocator<void> > FirmwareInfo;
00069 
00070 typedef boost::shared_ptr< ::clearpath_base::FirmwareInfo> FirmwareInfoPtr;
00071 typedef boost::shared_ptr< ::clearpath_base::FirmwareInfo const> FirmwareInfoConstPtr;
00072 
00073 
00074 template<typename ContainerAllocator>
00075 std::ostream& operator<<(std::ostream& s, const  ::clearpath_base::FirmwareInfo_<ContainerAllocator> & v)
00076 {
00077   ros::message_operations::Printer< ::clearpath_base::FirmwareInfo_<ContainerAllocator> >::stream(s, "", v);
00078   return s;}
00079 
00080 } // namespace clearpath_base
00081 
00082 namespace ros
00083 {
00084 namespace message_traits
00085 {
00086 template<class ContainerAllocator> struct IsMessage< ::clearpath_base::FirmwareInfo_<ContainerAllocator> > : public TrueType {};
00087 template<class ContainerAllocator> struct IsMessage< ::clearpath_base::FirmwareInfo_<ContainerAllocator>  const> : public TrueType {};
00088 template<class ContainerAllocator>
00089 struct MD5Sum< ::clearpath_base::FirmwareInfo_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "dd399eb9c7b3816e8bea664a45a7e9ea";
00093   }
00094 
00095   static const char* value(const  ::clearpath_base::FirmwareInfo_<ContainerAllocator> &) { return value(); } 
00096   static const uint64_t static_value1 = 0xdd399eb9c7b3816eULL;
00097   static const uint64_t static_value2 = 0x8bea664a45a7e9eaULL;
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct DataType< ::clearpath_base::FirmwareInfo_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "clearpath_base/FirmwareInfo";
00105   }
00106 
00107   static const char* value(const  ::clearpath_base::FirmwareInfo_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator>
00111 struct Definition< ::clearpath_base::FirmwareInfo_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "Header header\n\
00115 int8 firmware_major\n\
00116 int8 firmware_minor\n\
00117 int8 protocol_major\n\
00118 int8 protocol_minor\n\
00119 uint32 firmware_write_time\n\
00120 \n\
00121 ================================================================================\n\
00122 MSG: std_msgs/Header\n\
00123 # Standard metadata for higher-level stamped data types.\n\
00124 # This is generally used to communicate timestamped data \n\
00125 # in a particular coordinate frame.\n\
00126 # \n\
00127 # sequence ID: consecutively increasing ID \n\
00128 uint32 seq\n\
00129 #Two-integer timestamp that is expressed as:\n\
00130 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00131 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00132 # time-handling sugar is provided by the client library\n\
00133 time stamp\n\
00134 #Frame this data is associated with\n\
00135 # 0: no frame\n\
00136 # 1: global frame\n\
00137 string frame_id\n\
00138 \n\
00139 ";
00140   }
00141 
00142   static const char* value(const  ::clearpath_base::FirmwareInfo_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator> struct HasHeader< ::clearpath_base::FirmwareInfo_<ContainerAllocator> > : public TrueType {};
00146 template<class ContainerAllocator> struct HasHeader< const ::clearpath_base::FirmwareInfo_<ContainerAllocator> > : public TrueType {};
00147 } // namespace message_traits
00148 } // namespace ros
00149 
00150 namespace ros
00151 {
00152 namespace serialization
00153 {
00154 
00155 template<class ContainerAllocator> struct Serializer< ::clearpath_base::FirmwareInfo_<ContainerAllocator> >
00156 {
00157   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00158   {
00159     stream.next(m.header);
00160     stream.next(m.firmware_major);
00161     stream.next(m.firmware_minor);
00162     stream.next(m.protocol_major);
00163     stream.next(m.protocol_minor);
00164     stream.next(m.firmware_write_time);
00165   }
00166 
00167   ROS_DECLARE_ALLINONE_SERIALIZER;
00168 }; // struct FirmwareInfo_
00169 } // namespace serialization
00170 } // namespace ros
00171 
00172 namespace ros
00173 {
00174 namespace message_operations
00175 {
00176 
00177 template<class ContainerAllocator>
00178 struct Printer< ::clearpath_base::FirmwareInfo_<ContainerAllocator> >
00179 {
00180   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::clearpath_base::FirmwareInfo_<ContainerAllocator> & v) 
00181   {
00182     s << indent << "header: ";
00183 s << std::endl;
00184     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00185     s << indent << "firmware_major: ";
00186     Printer<int8_t>::stream(s, indent + "  ", v.firmware_major);
00187     s << indent << "firmware_minor: ";
00188     Printer<int8_t>::stream(s, indent + "  ", v.firmware_minor);
00189     s << indent << "protocol_major: ";
00190     Printer<int8_t>::stream(s, indent + "  ", v.protocol_major);
00191     s << indent << "protocol_minor: ";
00192     Printer<int8_t>::stream(s, indent + "  ", v.protocol_minor);
00193     s << indent << "firmware_write_time: ";
00194     Printer<uint32_t>::stream(s, indent + "  ", v.firmware_write_time);
00195   }
00196 };
00197 
00198 
00199 } // namespace message_operations
00200 } // namespace ros
00201 
00202 #endif // CLEARPATH_BASE_MESSAGE_FIRMWAREINFO_H
00203 


clearpath_base
Author(s): Mike Purvis
autogenerated on Sun Oct 5 2014 22:52:08