SegmentDefinition.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-kyb-mpg-ros-pkg/doc_stacks/2013-11-11_11-09-26.678778/telekyb_common/tk_draft_msgs/msg/SegmentDefinition.msg */
00002 #ifndef TK_DRAFT_MSGS_MESSAGE_SEGMENTDEFINITION_H
00003 #define TK_DRAFT_MSGS_MESSAGE_SEGMENTDEFINITION_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/Point.h"
00019 #include "geometry_msgs/Point.h"
00020 
00021 namespace tk_draft_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct SegmentDefinition_ {
00025   typedef SegmentDefinition_<ContainerAllocator> Type;
00026 
00027   SegmentDefinition_()
00028   : header()
00029   , id1()
00030   , id2()
00031   , pointSegStart()
00032   , pointSegEnd()
00033   {
00034   }
00035 
00036   SegmentDefinition_(const ContainerAllocator& _alloc)
00037   : header(_alloc)
00038   , id1(_alloc)
00039   , id2(_alloc)
00040   , pointSegStart(_alloc)
00041   , pointSegEnd(_alloc)
00042   {
00043   }
00044 
00045   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00046    ::std_msgs::Header_<ContainerAllocator>  header;
00047 
00048   typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  _id1_type;
00049   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  id1;
00050 
00051   typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  _id2_type;
00052   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  id2;
00053 
00054   typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  _pointSegStart_type;
00055   std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  pointSegStart;
00056 
00057   typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  _pointSegEnd_type;
00058   std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  pointSegEnd;
00059 
00060 
00061   typedef boost::shared_ptr< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> > Ptr;
00062   typedef boost::shared_ptr< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator>  const> ConstPtr;
00063   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00064 }; // struct SegmentDefinition
00065 typedef  ::tk_draft_msgs::SegmentDefinition_<std::allocator<void> > SegmentDefinition;
00066 
00067 typedef boost::shared_ptr< ::tk_draft_msgs::SegmentDefinition> SegmentDefinitionPtr;
00068 typedef boost::shared_ptr< ::tk_draft_msgs::SegmentDefinition const> SegmentDefinitionConstPtr;
00069 
00070 
00071 template<typename ContainerAllocator>
00072 std::ostream& operator<<(std::ostream& s, const  ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> & v)
00073 {
00074   ros::message_operations::Printer< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> >::stream(s, "", v);
00075   return s;}
00076 
00077 } // namespace tk_draft_msgs
00078 
00079 namespace ros
00080 {
00081 namespace message_traits
00082 {
00083 template<class ContainerAllocator> struct IsMessage< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> > : public TrueType {};
00084 template<class ContainerAllocator> struct IsMessage< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator>  const> : public TrueType {};
00085 template<class ContainerAllocator>
00086 struct MD5Sum< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "92451e48a2a30cf9fe86f5e343df4584";
00090   }
00091 
00092   static const char* value(const  ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> &) { return value(); } 
00093   static const uint64_t static_value1 = 0x92451e48a2a30cf9ULL;
00094   static const uint64_t static_value2 = 0xfe86f5e343df4584ULL;
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct DataType< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "tk_draft_msgs/SegmentDefinition";
00102   }
00103 
00104   static const char* value(const  ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> &) { return value(); } 
00105 };
00106 
00107 template<class ContainerAllocator>
00108 struct Definition< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> > {
00109   static const char* value() 
00110   {
00111     return "#\n\
00112 # Copyright 2012 Authors: Johannes Laechele and Thomas Nestmeyer\n\
00113 #\n\
00114 # This file is part of TeleKyb.\n\
00115 #\n\
00116 # TeleKyb is free software: you can redistribute it and/or modify\n\
00117 # it under the terms of the GNU General Public License as published by\n\
00118 # the Free Software Foundation, either version 3 of the License, or\n\
00119 # (at your option) any later version.\n\
00120 #\n\
00121 # TeleKyb is distributed in the hope that it will be useful,\n\
00122 # but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
00123 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\
00124 # GNU General Public License for more details.\n\
00125 #\n\
00126 # You should have received a copy of the GNU General Public License\n\
00127 # along with TeleKyb. If not, see <http://www.gnu.org/licenses/>.\n\
00128 \n\
00129 Header header\n\
00130 \n\
00131 #both form the ID of segment:\n\
00132 #(id1,id2) = (id2,id1)\n\
00133 uint8[] id1\n\
00134 uint8[] id2\n\
00135 \n\
00136 # Start point of segment\n\
00137 geometry_msgs/Point[] pointSegStart\n\
00138 \n\
00139 # End point of segment\n\
00140 geometry_msgs/Point[] pointSegEnd\n\
00141 \n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: std_msgs/Header\n\
00145 # Standard metadata for higher-level stamped data types.\n\
00146 # This is generally used to communicate timestamped data \n\
00147 # in a particular coordinate frame.\n\
00148 # \n\
00149 # sequence ID: consecutively increasing ID \n\
00150 uint32 seq\n\
00151 #Two-integer timestamp that is expressed as:\n\
00152 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00153 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00154 # time-handling sugar is provided by the client library\n\
00155 time stamp\n\
00156 #Frame this data is associated with\n\
00157 # 0: no frame\n\
00158 # 1: global frame\n\
00159 string frame_id\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: geometry_msgs/Point\n\
00163 # This contains the position of a point in free space\n\
00164 float64 x\n\
00165 float64 y\n\
00166 float64 z\n\
00167 \n\
00168 ";
00169   }
00170 
00171   static const char* value(const  ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> &) { return value(); } 
00172 };
00173 
00174 template<class ContainerAllocator> struct HasHeader< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> > : public TrueType {};
00175 template<class ContainerAllocator> struct HasHeader< const ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> > : public TrueType {};
00176 } // namespace message_traits
00177 } // namespace ros
00178 
00179 namespace ros
00180 {
00181 namespace serialization
00182 {
00183 
00184 template<class ContainerAllocator> struct Serializer< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> >
00185 {
00186   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00187   {
00188     stream.next(m.header);
00189     stream.next(m.id1);
00190     stream.next(m.id2);
00191     stream.next(m.pointSegStart);
00192     stream.next(m.pointSegEnd);
00193   }
00194 
00195   ROS_DECLARE_ALLINONE_SERIALIZER;
00196 }; // struct SegmentDefinition_
00197 } // namespace serialization
00198 } // namespace ros
00199 
00200 namespace ros
00201 {
00202 namespace message_operations
00203 {
00204 
00205 template<class ContainerAllocator>
00206 struct Printer< ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> >
00207 {
00208   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::tk_draft_msgs::SegmentDefinition_<ContainerAllocator> & v) 
00209   {
00210     s << indent << "header: ";
00211 s << std::endl;
00212     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00213     s << indent << "id1[]" << std::endl;
00214     for (size_t i = 0; i < v.id1.size(); ++i)
00215     {
00216       s << indent << "  id1[" << i << "]: ";
00217       Printer<uint8_t>::stream(s, indent + "  ", v.id1[i]);
00218     }
00219     s << indent << "id2[]" << std::endl;
00220     for (size_t i = 0; i < v.id2.size(); ++i)
00221     {
00222       s << indent << "  id2[" << i << "]: ";
00223       Printer<uint8_t>::stream(s, indent + "  ", v.id2[i]);
00224     }
00225     s << indent << "pointSegStart[]" << std::endl;
00226     for (size_t i = 0; i < v.pointSegStart.size(); ++i)
00227     {
00228       s << indent << "  pointSegStart[" << i << "]: ";
00229       s << std::endl;
00230       s << indent;
00231       Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "    ", v.pointSegStart[i]);
00232     }
00233     s << indent << "pointSegEnd[]" << std::endl;
00234     for (size_t i = 0; i < v.pointSegEnd.size(); ++i)
00235     {
00236       s << indent << "  pointSegEnd[" << i << "]: ";
00237       s << std::endl;
00238       s << indent;
00239       Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "    ", v.pointSegEnd[i]);
00240     }
00241   }
00242 };
00243 
00244 
00245 } // namespace message_operations
00246 } // namespace ros
00247 
00248 #endif // TK_DRAFT_MSGS_MESSAGE_SEGMENTDEFINITION_H
00249 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


tk_draft_msgs
Author(s): Martin Riedel
autogenerated on Mon Nov 11 2013 11:12:57