SemMap.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tum/doc_stacks/2013-05-23_04-38-08.595794/tum-ros-pkg/knowledge/mod_semantic_map/msg/SemMap.msg */
00002 #ifndef MOD_SEMANTIC_MAP_MESSAGE_SEMMAP_H
00003 #define MOD_SEMANTIC_MAP_MESSAGE_SEMMAP_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 "mod_semantic_map/SemMapObject.h"
00019 
00020 namespace mod_semantic_map
00021 {
00022 template <class ContainerAllocator>
00023 struct SemMap_ {
00024   typedef SemMap_<ContainerAllocator> Type;
00025 
00026   SemMap_()
00027   : header()
00028   , objects()
00029   {
00030   }
00031 
00032   SemMap_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , objects(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::mod_semantic_map::SemMapObject_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::mod_semantic_map::SemMapObject_<ContainerAllocator> >::other >  _objects_type;
00042   std::vector< ::mod_semantic_map::SemMapObject_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::mod_semantic_map::SemMapObject_<ContainerAllocator> >::other >  objects;
00043 
00044 
00045   typedef boost::shared_ptr< ::mod_semantic_map::SemMap_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::mod_semantic_map::SemMap_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct SemMap
00049 typedef  ::mod_semantic_map::SemMap_<std::allocator<void> > SemMap;
00050 
00051 typedef boost::shared_ptr< ::mod_semantic_map::SemMap> SemMapPtr;
00052 typedef boost::shared_ptr< ::mod_semantic_map::SemMap const> SemMapConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::mod_semantic_map::SemMap_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::mod_semantic_map::SemMap_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace mod_semantic_map
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::mod_semantic_map::SemMap_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::mod_semantic_map::SemMap_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::mod_semantic_map::SemMap_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "b5d726624cf18c09ef6a9556a3c51953";
00074   }
00075 
00076   static const char* value(const  ::mod_semantic_map::SemMap_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xb5d726624cf18c09ULL;
00078   static const uint64_t static_value2 = 0xef6a9556a3c51953ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::mod_semantic_map::SemMap_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "mod_semantic_map/SemMap";
00086   }
00087 
00088   static const char* value(const  ::mod_semantic_map::SemMap_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::mod_semantic_map::SemMap_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# Semantic map message type, Moritz Tenorth, tenorth@cs.tum.edu\n\
00096 Header header           # Message header\n\
00097 SemMapObject[] objects  # List of objects in the map\n\
00098 \n\
00099 ================================================================================\n\
00100 MSG: std_msgs/Header\n\
00101 # Standard metadata for higher-level stamped data types.\n\
00102 # This is generally used to communicate timestamped data \n\
00103 # in a particular coordinate frame.\n\
00104 # \n\
00105 # sequence ID: consecutively increasing ID \n\
00106 uint32 seq\n\
00107 #Two-integer timestamp that is expressed as:\n\
00108 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00109 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00110 # time-handling sugar is provided by the client library\n\
00111 time stamp\n\
00112 #Frame this data is associated with\n\
00113 # 0: no frame\n\
00114 # 1: global frame\n\
00115 string frame_id\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: mod_semantic_map/SemMapObject\n\
00119 # Semantic map object message type, Moritz Tenorth, tenorth@cs.tum.edu\n\
00120 int32 id          # unique object identifier\n\
00121 string type       # object class: {oven, cupboard, refrigerator, table, countertop, door, hinge, handle, knob, sink}\n\
00122 float32 width     # object width\n\
00123 float32 depth     # object width\n\
00124 float32 height    # object width\n\
00125 float32[] pose    # 4x4 pose matrix, row-based\n\
00126 int32   partOf    # ID of the parent object (consistent with the ID on the first line)\n\
00127 \n\
00128 ";
00129   }
00130 
00131   static const char* value(const  ::mod_semantic_map::SemMap_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 template<class ContainerAllocator> struct HasHeader< ::mod_semantic_map::SemMap_<ContainerAllocator> > : public TrueType {};
00135 template<class ContainerAllocator> struct HasHeader< const ::mod_semantic_map::SemMap_<ContainerAllocator> > : public TrueType {};
00136 } // namespace message_traits
00137 } // namespace ros
00138 
00139 namespace ros
00140 {
00141 namespace serialization
00142 {
00143 
00144 template<class ContainerAllocator> struct Serializer< ::mod_semantic_map::SemMap_<ContainerAllocator> >
00145 {
00146   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00147   {
00148     stream.next(m.header);
00149     stream.next(m.objects);
00150   }
00151 
00152   ROS_DECLARE_ALLINONE_SERIALIZER;
00153 }; // struct SemMap_
00154 } // namespace serialization
00155 } // namespace ros
00156 
00157 namespace ros
00158 {
00159 namespace message_operations
00160 {
00161 
00162 template<class ContainerAllocator>
00163 struct Printer< ::mod_semantic_map::SemMap_<ContainerAllocator> >
00164 {
00165   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::mod_semantic_map::SemMap_<ContainerAllocator> & v) 
00166   {
00167     s << indent << "header: ";
00168 s << std::endl;
00169     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00170     s << indent << "objects[]" << std::endl;
00171     for (size_t i = 0; i < v.objects.size(); ++i)
00172     {
00173       s << indent << "  objects[" << i << "]: ";
00174       s << std::endl;
00175       s << indent;
00176       Printer< ::mod_semantic_map::SemMapObject_<ContainerAllocator> >::stream(s, indent + "    ", v.objects[i]);
00177     }
00178   }
00179 };
00180 
00181 
00182 } // namespace message_operations
00183 } // namespace ros
00184 
00185 #endif // MOD_SEMANTIC_MAP_MESSAGE_SEMMAP_H
00186 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


mod_semantic_map
Author(s): Moritz Tenorth
autogenerated on Thu May 23 2013 08:54:30