Go to the documentation of this file.00001
00002 #ifndef POSITION_STRING_MSGS_MESSAGE_POSITIONSTRING_H
00003 #define POSITION_STRING_MSGS_MESSAGE_POSITIONSTRING_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 #include "geometry_msgs/Point32.h"
00019
00020 namespace position_string_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PositionString_ {
00024 typedef PositionString_<ContainerAllocator> Type;
00025
00026 PositionString_()
00027 : header()
00028 , pose()
00029 , text()
00030 {
00031 }
00032
00033 PositionString_(const ContainerAllocator& _alloc)
00034 : header(_alloc)
00035 , pose(_alloc)
00036 , text(_alloc)
00037 {
00038 }
00039
00040 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00041 ::std_msgs::Header_<ContainerAllocator> header;
00042
00043 typedef ::geometry_msgs::Point32_<ContainerAllocator> _pose_type;
00044 ::geometry_msgs::Point32_<ContainerAllocator> pose;
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _text_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > text;
00048
00049
00050 typedef boost::shared_ptr< ::position_string_msgs::PositionString_<ContainerAllocator> > Ptr;
00051 typedef boost::shared_ptr< ::position_string_msgs::PositionString_<ContainerAllocator> const> ConstPtr;
00052 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 };
00054 typedef ::position_string_msgs::PositionString_<std::allocator<void> > PositionString;
00055
00056 typedef boost::shared_ptr< ::position_string_msgs::PositionString> PositionStringPtr;
00057 typedef boost::shared_ptr< ::position_string_msgs::PositionString const> PositionStringConstPtr;
00058
00059
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const ::position_string_msgs::PositionString_<ContainerAllocator> & v)
00062 {
00063 ros::message_operations::Printer< ::position_string_msgs::PositionString_<ContainerAllocator> >::stream(s, "", v);
00064 return s;}
00065
00066 }
00067
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::position_string_msgs::PositionString_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::position_string_msgs::PositionString_<ContainerAllocator> const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::position_string_msgs::PositionString_<ContainerAllocator> > {
00076 static const char* value()
00077 {
00078 return "7adb59260ef1ce9ab7745ed4e7582f92";
00079 }
00080
00081 static const char* value(const ::position_string_msgs::PositionString_<ContainerAllocator> &) { return value(); }
00082 static const uint64_t static_value1 = 0x7adb59260ef1ce9aULL;
00083 static const uint64_t static_value2 = 0xb7745ed4e7582f92ULL;
00084 };
00085
00086 template<class ContainerAllocator>
00087 struct DataType< ::position_string_msgs::PositionString_<ContainerAllocator> > {
00088 static const char* value()
00089 {
00090 return "position_string_msgs/PositionString";
00091 }
00092
00093 static const char* value(const ::position_string_msgs::PositionString_<ContainerAllocator> &) { return value(); }
00094 };
00095
00096 template<class ContainerAllocator>
00097 struct Definition< ::position_string_msgs::PositionString_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "Header header\n\
00101 geometry_msgs/Point32 pose\n\
00102 string text\n\
00103 \n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: std_msgs/Header\n\
00107 # Standard metadata for higher-level stamped data types.\n\
00108 # This is generally used to communicate timestamped data \n\
00109 # in a particular coordinate frame.\n\
00110 # \n\
00111 # sequence ID: consecutively increasing ID \n\
00112 uint32 seq\n\
00113 #Two-integer timestamp that is expressed as:\n\
00114 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00115 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00116 # time-handling sugar is provided by the client library\n\
00117 time stamp\n\
00118 #Frame this data is associated with\n\
00119 # 0: no frame\n\
00120 # 1: global frame\n\
00121 string frame_id\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: geometry_msgs/Point32\n\
00125 # This contains the position of a point in free space(with 32 bits of precision).\n\
00126 # It is recommeded to use Point wherever possible instead of Point32. \n\
00127 # \n\
00128 # This recommendation is to promote interoperability. \n\
00129 #\n\
00130 # This message is designed to take up less space when sending\n\
00131 # lots of points at once, as in the case of a PointCloud. \n\
00132 \n\
00133 float32 x\n\
00134 float32 y\n\
00135 float32 z\n\
00136 ";
00137 }
00138
00139 static const char* value(const ::position_string_msgs::PositionString_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator> struct HasHeader< ::position_string_msgs::PositionString_<ContainerAllocator> > : public TrueType {};
00143 template<class ContainerAllocator> struct HasHeader< const ::position_string_msgs::PositionString_<ContainerAllocator> > : public TrueType {};
00144 }
00145 }
00146
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151
00152 template<class ContainerAllocator> struct Serializer< ::position_string_msgs::PositionString_<ContainerAllocator> >
00153 {
00154 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155 {
00156 stream.next(m.header);
00157 stream.next(m.pose);
00158 stream.next(m.text);
00159 }
00160
00161 ROS_DECLARE_ALLINONE_SERIALIZER;
00162 };
00163 }
00164 }
00165
00166 namespace ros
00167 {
00168 namespace message_operations
00169 {
00170
00171 template<class ContainerAllocator>
00172 struct Printer< ::position_string_msgs::PositionString_<ContainerAllocator> >
00173 {
00174 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::position_string_msgs::PositionString_<ContainerAllocator> & v)
00175 {
00176 s << indent << "header: ";
00177 s << std::endl;
00178 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00179 s << indent << "pose: ";
00180 s << std::endl;
00181 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00182 s << indent << "text: ";
00183 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.text);
00184 }
00185 };
00186
00187
00188 }
00189 }
00190
00191 #endif // POSITION_STRING_MSGS_MESSAGE_POSITIONSTRING_H
00192