Go to the documentation of this file.00001
00002 #ifndef RFID_BEHAVIORS_MESSAGE_RECORDERREADS_H
00003 #define RFID_BEHAVIORS_MESSAGE_RECORDERREADS_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 "hrl_rfid/RFIDread.h"
00018 #include "geometry_msgs/PoseStamped.h"
00019 #include "geometry_msgs/PoseStamped.h"
00020
00021 namespace rfid_behaviors
00022 {
00023 template <class ContainerAllocator>
00024 struct RecorderReads_ {
00025 typedef RecorderReads_<ContainerAllocator> Type;
00026
00027 RecorderReads_()
00028 : read()
00029 , ps_ant_map()
00030 , ps_base_map()
00031 {
00032 }
00033
00034 RecorderReads_(const ContainerAllocator& _alloc)
00035 : read(_alloc)
00036 , ps_ant_map(_alloc)
00037 , ps_base_map(_alloc)
00038 {
00039 }
00040
00041 typedef ::hrl_rfid::RFIDread_<ContainerAllocator> _read_type;
00042 ::hrl_rfid::RFIDread_<ContainerAllocator> read;
00043
00044 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _ps_ant_map_type;
00045 ::geometry_msgs::PoseStamped_<ContainerAllocator> ps_ant_map;
00046
00047 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _ps_base_map_type;
00048 ::geometry_msgs::PoseStamped_<ContainerAllocator> ps_base_map;
00049
00050
00051 typedef boost::shared_ptr< ::rfid_behaviors::RecorderReads_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::rfid_behaviors::RecorderReads_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::rfid_behaviors::RecorderReads_<std::allocator<void> > RecorderReads;
00056
00057 typedef boost::shared_ptr< ::rfid_behaviors::RecorderReads> RecorderReadsPtr;
00058 typedef boost::shared_ptr< ::rfid_behaviors::RecorderReads const> RecorderReadsConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::rfid_behaviors::RecorderReads_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::rfid_behaviors::RecorderReads_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::rfid_behaviors::RecorderReads_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::rfid_behaviors::RecorderReads_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::rfid_behaviors::RecorderReads_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "49cfc9e168a5757e7fa211fcb2b0d5ac";
00080 }
00081
00082 static const char* value(const ::rfid_behaviors::RecorderReads_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0x49cfc9e168a5757eULL;
00084 static const uint64_t static_value2 = 0x7fa211fcb2b0d5acULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::rfid_behaviors::RecorderReads_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "rfid_behaviors/RecorderReads";
00092 }
00093
00094 static const char* value(const ::rfid_behaviors::RecorderReads_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::rfid_behaviors::RecorderReads_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "hrl_rfid/RFIDread read\n\
00102 geometry_msgs/PoseStamped ps_ant_map\n\
00103 geometry_msgs/PoseStamped ps_base_map\n\
00104 ================================================================================\n\
00105 MSG: hrl_rfid/RFIDread\n\
00106 Header header\n\
00107 string antenna_name\n\
00108 string tagID\n\
00109 int32 rssi\n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: std_msgs/Header\n\
00113 # Standard metadata for higher-level stamped data types.\n\
00114 # This is generally used to communicate timestamped data \n\
00115 # in a particular coordinate frame.\n\
00116 # \n\
00117 # sequence ID: consecutively increasing ID \n\
00118 uint32 seq\n\
00119 #Two-integer timestamp that is expressed as:\n\
00120 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00121 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00122 # time-handling sugar is provided by the client library\n\
00123 time stamp\n\
00124 #Frame this data is associated with\n\
00125 # 0: no frame\n\
00126 # 1: global frame\n\
00127 string frame_id\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: geometry_msgs/PoseStamped\n\
00131 # A Pose with reference coordinate frame and timestamp\n\
00132 Header header\n\
00133 Pose pose\n\
00134 \n\
00135 ================================================================================\n\
00136 MSG: geometry_msgs/Pose\n\
00137 # A representation of pose in free space, composed of postion and orientation. \n\
00138 Point position\n\
00139 Quaternion orientation\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: geometry_msgs/Point\n\
00143 # This contains the position of a point in free space\n\
00144 float64 x\n\
00145 float64 y\n\
00146 float64 z\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: geometry_msgs/Quaternion\n\
00150 # This represents an orientation in free space in quaternion form.\n\
00151 \n\
00152 float64 x\n\
00153 float64 y\n\
00154 float64 z\n\
00155 float64 w\n\
00156 \n\
00157 ";
00158 }
00159
00160 static const char* value(const ::rfid_behaviors::RecorderReads_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 }
00164 }
00165
00166 namespace ros
00167 {
00168 namespace serialization
00169 {
00170
00171 template<class ContainerAllocator> struct Serializer< ::rfid_behaviors::RecorderReads_<ContainerAllocator> >
00172 {
00173 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00174 {
00175 stream.next(m.read);
00176 stream.next(m.ps_ant_map);
00177 stream.next(m.ps_base_map);
00178 }
00179
00180 ROS_DECLARE_ALLINONE_SERIALIZER;
00181 };
00182 }
00183 }
00184
00185 namespace ros
00186 {
00187 namespace message_operations
00188 {
00189
00190 template<class ContainerAllocator>
00191 struct Printer< ::rfid_behaviors::RecorderReads_<ContainerAllocator> >
00192 {
00193 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::rfid_behaviors::RecorderReads_<ContainerAllocator> & v)
00194 {
00195 s << indent << "read: ";
00196 s << std::endl;
00197 Printer< ::hrl_rfid::RFIDread_<ContainerAllocator> >::stream(s, indent + " ", v.read);
00198 s << indent << "ps_ant_map: ";
00199 s << std::endl;
00200 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.ps_ant_map);
00201 s << indent << "ps_base_map: ";
00202 s << std::endl;
00203 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.ps_base_map);
00204 }
00205 };
00206
00207
00208 }
00209 }
00210
00211 #endif // RFID_BEHAVIORS_MESSAGE_RECORDERREADS_H
00212