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