IrMsg.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-roscorobot/doc_stacks/2014-01-07_11-36-17.541726/Corobot/corobot_msgs/msg/IrMsg.msg */
00002 #ifndef COROBOT_MSGS_MESSAGE_IRMSG_H
00003 #define COROBOT_MSGS_MESSAGE_IRMSG_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 
00018 namespace corobot_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct IrMsg_ {
00022   typedef IrMsg_<ContainerAllocator> Type;
00023 
00024   IrMsg_()
00025   : voltage1(0.0)
00026   , voltage2(0.0)
00027   , range1(0.0)
00028   , range2(0.0)
00029   {
00030   }
00031 
00032   IrMsg_(const ContainerAllocator& _alloc)
00033   : voltage1(0.0)
00034   , voltage2(0.0)
00035   , range1(0.0)
00036   , range2(0.0)
00037   {
00038   }
00039 
00040   typedef float _voltage1_type;
00041   float voltage1;
00042 
00043   typedef float _voltage2_type;
00044   float voltage2;
00045 
00046   typedef float _range1_type;
00047   float range1;
00048 
00049   typedef float _range2_type;
00050   float range2;
00051 
00052 
00053   typedef boost::shared_ptr< ::corobot_msgs::IrMsg_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::corobot_msgs::IrMsg_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct IrMsg
00057 typedef  ::corobot_msgs::IrMsg_<std::allocator<void> > IrMsg;
00058 
00059 typedef boost::shared_ptr< ::corobot_msgs::IrMsg> IrMsgPtr;
00060 typedef boost::shared_ptr< ::corobot_msgs::IrMsg const> IrMsgConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::corobot_msgs::IrMsg_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::corobot_msgs::IrMsg_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace corobot_msgs
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::corobot_msgs::IrMsg_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::corobot_msgs::IrMsg_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::corobot_msgs::IrMsg_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "46919f88799a3d678e8e0d18c2cd02f1";
00082   }
00083 
00084   static const char* value(const  ::corobot_msgs::IrMsg_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0x46919f88799a3d67ULL;
00086   static const uint64_t static_value2 = 0x8e8e0d18c2cd02f1ULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::corobot_msgs::IrMsg_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "corobot_msgs/IrMsg";
00094   }
00095 
00096   static const char* value(const  ::corobot_msgs::IrMsg_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::corobot_msgs::IrMsg_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "float32 voltage1\n\
00104 float32 voltage2\n\
00105 float32 range1\n\
00106 float32 range2\n\
00107 \n\
00108 ";
00109   }
00110 
00111   static const char* value(const  ::corobot_msgs::IrMsg_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 template<class ContainerAllocator> struct IsFixedSize< ::corobot_msgs::IrMsg_<ContainerAllocator> > : public TrueType {};
00115 } // namespace message_traits
00116 } // namespace ros
00117 
00118 namespace ros
00119 {
00120 namespace serialization
00121 {
00122 
00123 template<class ContainerAllocator> struct Serializer< ::corobot_msgs::IrMsg_<ContainerAllocator> >
00124 {
00125   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00126   {
00127     stream.next(m.voltage1);
00128     stream.next(m.voltage2);
00129     stream.next(m.range1);
00130     stream.next(m.range2);
00131   }
00132 
00133   ROS_DECLARE_ALLINONE_SERIALIZER;
00134 }; // struct IrMsg_
00135 } // namespace serialization
00136 } // namespace ros
00137 
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142 
00143 template<class ContainerAllocator>
00144 struct Printer< ::corobot_msgs::IrMsg_<ContainerAllocator> >
00145 {
00146   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::corobot_msgs::IrMsg_<ContainerAllocator> & v) 
00147   {
00148     s << indent << "voltage1: ";
00149     Printer<float>::stream(s, indent + "  ", v.voltage1);
00150     s << indent << "voltage2: ";
00151     Printer<float>::stream(s, indent + "  ", v.voltage2);
00152     s << indent << "range1: ";
00153     Printer<float>::stream(s, indent + "  ", v.range1);
00154     s << indent << "range2: ";
00155     Printer<float>::stream(s, indent + "  ", v.range2);
00156   }
00157 };
00158 
00159 
00160 } // namespace message_operations
00161 } // namespace ros
00162 
00163 #endif // COROBOT_MSGS_MESSAGE_IRMSG_H
00164 


corobot_msgs
Author(s): Morgan Cormier/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:38:41