leuze_status.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_common_drivers/iri_common_drivers_msgs/msg/leuze_status.msg */
00002 #ifndef IRI_COMMON_DRIVERS_MSGS_MESSAGE_LEUZE_STATUS_H
00003 #define IRI_COMMON_DRIVERS_MSGS_MESSAGE_LEUZE_STATUS_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 iri_common_drivers_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct leuze_status_ {
00023   typedef leuze_status_<ContainerAllocator> Type;
00024 
00025   leuze_status_()
00026   : header()
00027   , alarm1(0)
00028   , alarm2(0)
00029   , ossd1(0)
00030   , ossd2(0)
00031   , current_pair(0)
00032   {
00033   }
00034 
00035   leuze_status_(const ContainerAllocator& _alloc)
00036   : header(_alloc)
00037   , alarm1(0)
00038   , alarm2(0)
00039   , ossd1(0)
00040   , ossd2(0)
00041   , current_pair(0)
00042   {
00043   }
00044 
00045   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00046    ::std_msgs::Header_<ContainerAllocator>  header;
00047 
00048   typedef uint8_t _alarm1_type;
00049   uint8_t alarm1;
00050 
00051   typedef uint8_t _alarm2_type;
00052   uint8_t alarm2;
00053 
00054   typedef uint8_t _ossd1_type;
00055   uint8_t ossd1;
00056 
00057   typedef uint8_t _ossd2_type;
00058   uint8_t ossd2;
00059 
00060   typedef uint8_t _current_pair_type;
00061   uint8_t current_pair;
00062 
00063 
00064   typedef boost::shared_ptr< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> > Ptr;
00065   typedef boost::shared_ptr< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator>  const> ConstPtr;
00066   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00067 }; // struct leuze_status
00068 typedef  ::iri_common_drivers_msgs::leuze_status_<std::allocator<void> > leuze_status;
00069 
00070 typedef boost::shared_ptr< ::iri_common_drivers_msgs::leuze_status> leuze_statusPtr;
00071 typedef boost::shared_ptr< ::iri_common_drivers_msgs::leuze_status const> leuze_statusConstPtr;
00072 
00073 
00074 template<typename ContainerAllocator>
00075 std::ostream& operator<<(std::ostream& s, const  ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> & v)
00076 {
00077   ros::message_operations::Printer< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> >::stream(s, "", v);
00078   return s;}
00079 
00080 } // namespace iri_common_drivers_msgs
00081 
00082 namespace ros
00083 {
00084 namespace message_traits
00085 {
00086 template<class ContainerAllocator> struct IsMessage< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> > : public TrueType {};
00087 template<class ContainerAllocator> struct IsMessage< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator>  const> : public TrueType {};
00088 template<class ContainerAllocator>
00089 struct MD5Sum< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "ecaafc9afd030f4a97142645a5dcf81b";
00093   }
00094 
00095   static const char* value(const  ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> &) { return value(); } 
00096   static const uint64_t static_value1 = 0xecaafc9afd030f4aULL;
00097   static const uint64_t static_value2 = 0x97142645a5dcf81bULL;
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct DataType< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "iri_common_drivers_msgs/leuze_status";
00105   }
00106 
00107   static const char* value(const  ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator>
00111 struct Definition< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "Header header\n\
00115 uint8 alarm1\n\
00116 uint8 alarm2\n\
00117 uint8 ossd1\n\
00118 uint8 ossd2\n\
00119 uint8 current_pair\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  ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator> struct HasHeader< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> > : public TrueType {};
00146 template<class ContainerAllocator> struct HasHeader< const ::iri_common_drivers_msgs::leuze_status_<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< ::iri_common_drivers_msgs::leuze_status_<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.alarm1);
00161     stream.next(m.alarm2);
00162     stream.next(m.ossd1);
00163     stream.next(m.ossd2);
00164     stream.next(m.current_pair);
00165   }
00166 
00167   ROS_DECLARE_ALLINONE_SERIALIZER;
00168 }; // struct leuze_status_
00169 } // namespace serialization
00170 } // namespace ros
00171 
00172 namespace ros
00173 {
00174 namespace message_operations
00175 {
00176 
00177 template<class ContainerAllocator>
00178 struct Printer< ::iri_common_drivers_msgs::leuze_status_<ContainerAllocator> >
00179 {
00180   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::iri_common_drivers_msgs::leuze_status_<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 << "alarm1: ";
00186     Printer<uint8_t>::stream(s, indent + "  ", v.alarm1);
00187     s << indent << "alarm2: ";
00188     Printer<uint8_t>::stream(s, indent + "  ", v.alarm2);
00189     s << indent << "ossd1: ";
00190     Printer<uint8_t>::stream(s, indent + "  ", v.ossd1);
00191     s << indent << "ossd2: ";
00192     Printer<uint8_t>::stream(s, indent + "  ", v.ossd2);
00193     s << indent << "current_pair: ";
00194     Printer<uint8_t>::stream(s, indent + "  ", v.current_pair);
00195   }
00196 };
00197 
00198 
00199 } // namespace message_operations
00200 } // namespace ros
00201 
00202 #endif // IRI_COMMON_DRIVERS_MSGS_MESSAGE_LEUZE_STATUS_H
00203 


iri_common_drivers_msgs
Author(s): Marti Morta, mmorta at iri.upc.ed
autogenerated on Fri Dec 6 2013 19:59:38