DockInfraRed.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-kobuki/doc_stacks/2012-11-15_17-55-48.690038/kobuki/kobuki_comms/msg/DockInfraRed.msg */
00002 #ifndef KOBUKI_COMMS_MESSAGE_DOCKINFRARED_H
00003 #define KOBUKI_COMMS_MESSAGE_DOCKINFRARED_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 kobuki_comms
00020 {
00021 template <class ContainerAllocator>
00022 struct DockInfraRed_ {
00023   typedef DockInfraRed_<ContainerAllocator> Type;
00024 
00025   DockInfraRed_()
00026   : header()
00027   , data()
00028   {
00029   }
00030 
00031   DockInfraRed_(const ContainerAllocator& _alloc)
00032   : header(_alloc)
00033   , data(_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 >  _data_type;
00041   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  data;
00042 
00043   enum { NEAR_LEFT = 1 };
00044   enum { NEAR_CENTER = 2 };
00045   enum { NEAR_RIGHT = 4 };
00046   enum { FAR_LEFT = 8 };
00047   enum { FAR_CENTER = 16 };
00048   enum { FAR_RIGHT = 32 };
00049 
00050   typedef boost::shared_ptr< ::kobuki_comms::DockInfraRed_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::kobuki_comms::DockInfraRed_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct DockInfraRed
00054 typedef  ::kobuki_comms::DockInfraRed_<std::allocator<void> > DockInfraRed;
00055 
00056 typedef boost::shared_ptr< ::kobuki_comms::DockInfraRed> DockInfraRedPtr;
00057 typedef boost::shared_ptr< ::kobuki_comms::DockInfraRed const> DockInfraRedConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::kobuki_comms::DockInfraRed_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::kobuki_comms::DockInfraRed_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace kobuki_comms
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::kobuki_comms::DockInfraRed_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::kobuki_comms::DockInfraRed_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::kobuki_comms::DockInfraRed_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "4247d91ea10269fb062c53396d016a2c";
00079   }
00080 
00081   static const char* value(const  ::kobuki_comms::DockInfraRed_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x4247d91ea10269fbULL;
00083   static const uint64_t static_value2 = 0x062c53396d016a2cULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::kobuki_comms::DockInfraRed_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "kobuki_comms/DockInfraRed";
00091   }
00092 
00093   static const char* value(const  ::kobuki_comms::DockInfraRed_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::kobuki_comms::DockInfraRed_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "uint8 NEAR_LEFT   =  1\n\
00101 uint8 NEAR_CENTER =  2\n\
00102 uint8 NEAR_RIGHT  =  4\n\
00103 uint8 FAR_LEFT    =  8\n\
00104 uint8 FAR_CENTER  = 16\n\
00105 uint8 FAR_RIGHT   = 32\n\
00106 \n\
00107 Header header\n\
00108 uint8[] data\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  ::kobuki_comms::DockInfraRed_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 template<class ContainerAllocator> struct HasHeader< ::kobuki_comms::DockInfraRed_<ContainerAllocator> > : public TrueType {};
00135 template<class ContainerAllocator> struct HasHeader< const ::kobuki_comms::DockInfraRed_<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< ::kobuki_comms::DockInfraRed_<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.data);
00150   }
00151 
00152   ROS_DECLARE_ALLINONE_SERIALIZER;
00153 }; // struct DockInfraRed_
00154 } // namespace serialization
00155 } // namespace ros
00156 
00157 namespace ros
00158 {
00159 namespace message_operations
00160 {
00161 
00162 template<class ContainerAllocator>
00163 struct Printer< ::kobuki_comms::DockInfraRed_<ContainerAllocator> >
00164 {
00165   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::kobuki_comms::DockInfraRed_<ContainerAllocator> & v) 
00166   {
00167     s << indent << "header: ";
00168 s << std::endl;
00169     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00170     s << indent << "data[]" << std::endl;
00171     for (size_t i = 0; i < v.data.size(); ++i)
00172     {
00173       s << indent << "  data[" << i << "]: ";
00174       Printer<uint8_t>::stream(s, indent + "  ", v.data[i]);
00175     }
00176   }
00177 };
00178 
00179 
00180 } // namespace message_operations
00181 } // namespace ros
00182 
00183 #endif // KOBUKI_COMMS_MESSAGE_DOCKINFRARED_H
00184 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


kobuki_comms
Author(s): Daniel Stonier, 주영훈
autogenerated on Thu Nov 15 2012 18:05:16