BumperMsg.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/BumperMsg.msg */
00002 #ifndef COROBOT_MSGS_MESSAGE_BUMPERMSG_H
00003 #define COROBOT_MSGS_MESSAGE_BUMPERMSG_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 BumperMsg_ {
00022   typedef BumperMsg_<ContainerAllocator> Type;
00023 
00024   BumperMsg_()
00025   : bumpers_count(0)
00026   , value0(0)
00027   , value1(0)
00028   , value2(0)
00029   , value3(0)
00030   {
00031   }
00032 
00033   BumperMsg_(const ContainerAllocator& _alloc)
00034   : bumpers_count(0)
00035   , value0(0)
00036   , value1(0)
00037   , value2(0)
00038   , value3(0)
00039   {
00040   }
00041 
00042   typedef int8_t _bumpers_count_type;
00043   int8_t bumpers_count;
00044 
00045   typedef int8_t _value0_type;
00046   int8_t value0;
00047 
00048   typedef int8_t _value1_type;
00049   int8_t value1;
00050 
00051   typedef int8_t _value2_type;
00052   int8_t value2;
00053 
00054   typedef int8_t _value3_type;
00055   int8_t value3;
00056 
00057 
00058   typedef boost::shared_ptr< ::corobot_msgs::BumperMsg_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::corobot_msgs::BumperMsg_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct BumperMsg
00062 typedef  ::corobot_msgs::BumperMsg_<std::allocator<void> > BumperMsg;
00063 
00064 typedef boost::shared_ptr< ::corobot_msgs::BumperMsg> BumperMsgPtr;
00065 typedef boost::shared_ptr< ::corobot_msgs::BumperMsg const> BumperMsgConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::corobot_msgs::BumperMsg_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::corobot_msgs::BumperMsg_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace corobot_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::corobot_msgs::BumperMsg_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::corobot_msgs::BumperMsg_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::corobot_msgs::BumperMsg_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "e6f554580caa3ea2c4e88f283d5e3364";
00087   }
00088 
00089   static const char* value(const  ::corobot_msgs::BumperMsg_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xe6f554580caa3ea2ULL;
00091   static const uint64_t static_value2 = 0xc4e88f283d5e3364ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::corobot_msgs::BumperMsg_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "corobot_msgs/BumperMsg";
00099   }
00100 
00101   static const char* value(const  ::corobot_msgs::BumperMsg_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::corobot_msgs::BumperMsg_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "int8 bumpers_count\n\
00109 int8 value0\n\
00110 int8 value1\n\
00111 int8 value2\n\
00112 int8 value3\n\
00113 \n\
00114 ";
00115   }
00116 
00117   static const char* value(const  ::corobot_msgs::BumperMsg_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 template<class ContainerAllocator> struct IsFixedSize< ::corobot_msgs::BumperMsg_<ContainerAllocator> > : public TrueType {};
00121 } // namespace message_traits
00122 } // namespace ros
00123 
00124 namespace ros
00125 {
00126 namespace serialization
00127 {
00128 
00129 template<class ContainerAllocator> struct Serializer< ::corobot_msgs::BumperMsg_<ContainerAllocator> >
00130 {
00131   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00132   {
00133     stream.next(m.bumpers_count);
00134     stream.next(m.value0);
00135     stream.next(m.value1);
00136     stream.next(m.value2);
00137     stream.next(m.value3);
00138   }
00139 
00140   ROS_DECLARE_ALLINONE_SERIALIZER;
00141 }; // struct BumperMsg_
00142 } // namespace serialization
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149 
00150 template<class ContainerAllocator>
00151 struct Printer< ::corobot_msgs::BumperMsg_<ContainerAllocator> >
00152 {
00153   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::corobot_msgs::BumperMsg_<ContainerAllocator> & v) 
00154   {
00155     s << indent << "bumpers_count: ";
00156     Printer<int8_t>::stream(s, indent + "  ", v.bumpers_count);
00157     s << indent << "value0: ";
00158     Printer<int8_t>::stream(s, indent + "  ", v.value0);
00159     s << indent << "value1: ";
00160     Printer<int8_t>::stream(s, indent + "  ", v.value1);
00161     s << indent << "value2: ";
00162     Printer<int8_t>::stream(s, indent + "  ", v.value2);
00163     s << indent << "value3: ";
00164     Printer<int8_t>::stream(s, indent + "  ", v.value3);
00165   }
00166 };
00167 
00168 
00169 } // namespace message_operations
00170 } // namespace ros
00171 
00172 #endif // COROBOT_MSGS_MESSAGE_BUMPERMSG_H
00173 


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