Go to the documentation of this file.00001
00002 #ifndef POSITION_STRING_MSGS_MESSAGE_POSITIONSTRINGLIST_H
00003 #define POSITION_STRING_MSGS_MESSAGE_POSITIONSTRINGLIST_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 PositionStringList_ {
00024 typedef PositionStringList_<ContainerAllocator> Type;
00025
00026 PositionStringList_()
00027 : header()
00028 , poses()
00029 , texts()
00030 {
00031 }
00032
00033 PositionStringList_(const ContainerAllocator& _alloc)
00034 : header(_alloc)
00035 , poses(_alloc)
00036 , texts(_alloc)
00037 {
00038 }
00039
00040 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00041 ::std_msgs::Header_<ContainerAllocator> header;
00042
00043 typedef std::vector< ::geometry_msgs::Point32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point32_<ContainerAllocator> >::other > _poses_type;
00044 std::vector< ::geometry_msgs::Point32_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point32_<ContainerAllocator> >::other > poses;
00045
00046 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _texts_type;
00047 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > texts;
00048
00049
00050 typedef boost::shared_ptr< ::position_string_msgs::PositionStringList_<ContainerAllocator> > Ptr;
00051 typedef boost::shared_ptr< ::position_string_msgs::PositionStringList_<ContainerAllocator> const> ConstPtr;
00052 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 };
00054 typedef ::position_string_msgs::PositionStringList_<std::allocator<void> > PositionStringList;
00055
00056 typedef boost::shared_ptr< ::position_string_msgs::PositionStringList> PositionStringListPtr;
00057 typedef boost::shared_ptr< ::position_string_msgs::PositionStringList const> PositionStringListConstPtr;
00058
00059
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const ::position_string_msgs::PositionStringList_<ContainerAllocator> & v)
00062 {
00063 ros::message_operations::Printer< ::position_string_msgs::PositionStringList_<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::PositionStringList_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::position_string_msgs::PositionStringList_<ContainerAllocator> const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::position_string_msgs::PositionStringList_<ContainerAllocator> > {
00076 static const char* value()
00077 {
00078 return "fe8ec84f1863f31b277ef6e059c2b94a";
00079 }
00080
00081 static const char* value(const ::position_string_msgs::PositionStringList_<ContainerAllocator> &) { return value(); }
00082 static const uint64_t static_value1 = 0xfe8ec84f1863f31bULL;
00083 static const uint64_t static_value2 = 0x277ef6e059c2b94aULL;
00084 };
00085
00086 template<class ContainerAllocator>
00087 struct DataType< ::position_string_msgs::PositionStringList_<ContainerAllocator> > {
00088 static const char* value()
00089 {
00090 return "position_string_msgs/PositionStringList";
00091 }
00092
00093 static const char* value(const ::position_string_msgs::PositionStringList_<ContainerAllocator> &) { return value(); }
00094 };
00095
00096 template<class ContainerAllocator>
00097 struct Definition< ::position_string_msgs::PositionStringList_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "Header header\n\
00101 geometry_msgs/Point32[] poses\n\
00102 string[] texts\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::PositionStringList_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator> struct HasHeader< ::position_string_msgs::PositionStringList_<ContainerAllocator> > : public TrueType {};
00143 template<class ContainerAllocator> struct HasHeader< const ::position_string_msgs::PositionStringList_<ContainerAllocator> > : public TrueType {};
00144 }
00145 }
00146
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151
00152 template<class ContainerAllocator> struct Serializer< ::position_string_msgs::PositionStringList_<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.poses);
00158 stream.next(m.texts);
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::PositionStringList_<ContainerAllocator> >
00173 {
00174 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::position_string_msgs::PositionStringList_<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 << "poses[]" << std::endl;
00180 for (size_t i = 0; i < v.poses.size(); ++i)
00181 {
00182 s << indent << " poses[" << i << "]: ";
00183 s << std::endl;
00184 s << indent;
00185 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.poses[i]);
00186 }
00187 s << indent << "texts[]" << std::endl;
00188 for (size_t i = 0; i < v.texts.size(); ++i)
00189 {
00190 s << indent << " texts[" << i << "]: ";
00191 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.texts[i]);
00192 }
00193 }
00194 };
00195
00196
00197 }
00198 }
00199
00200 #endif // POSITION_STRING_MSGS_MESSAGE_POSITIONSTRINGLIST_H
00201