Go to the documentation of this file.00001
00002 #ifndef SRS_SYMBOLIC_GROUNDING_MESSAGE_FURNITUREGEOMETRY_H
00003 #define SRS_SYMBOLIC_GROUNDING_MESSAGE_FURNITUREGEOMETRY_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 "geometry_msgs/Pose2D.h"
00018
00019 namespace srs_symbolic_grounding
00020 {
00021 template <class ContainerAllocator>
00022 struct FurnitureGeometry_ {
00023 typedef FurnitureGeometry_<ContainerAllocator> Type;
00024
00025 FurnitureGeometry_()
00026 : pose()
00027 , l(0.0)
00028 , w(0.0)
00029 , h(0.0)
00030 {
00031 }
00032
00033 FurnitureGeometry_(const ContainerAllocator& _alloc)
00034 : pose(_alloc)
00035 , l(0.0)
00036 , w(0.0)
00037 , h(0.0)
00038 {
00039 }
00040
00041 typedef ::geometry_msgs::Pose2D_<ContainerAllocator> _pose_type;
00042 ::geometry_msgs::Pose2D_<ContainerAllocator> pose;
00043
00044 typedef float _l_type;
00045 float l;
00046
00047 typedef float _w_type;
00048 float w;
00049
00050 typedef float _h_type;
00051 float h;
00052
00053
00054 typedef boost::shared_ptr< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > Ptr;
00055 typedef boost::shared_ptr< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> const> ConstPtr;
00056 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 };
00058 typedef ::srs_symbolic_grounding::FurnitureGeometry_<std::allocator<void> > FurnitureGeometry;
00059
00060 typedef boost::shared_ptr< ::srs_symbolic_grounding::FurnitureGeometry> FurnitureGeometryPtr;
00061 typedef boost::shared_ptr< ::srs_symbolic_grounding::FurnitureGeometry const> FurnitureGeometryConstPtr;
00062
00063
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> & v)
00066 {
00067 ros::message_operations::Printer< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> >::stream(s, "", v);
00068 return s;}
00069
00070 }
00071
00072 namespace ros
00073 {
00074 namespace message_traits
00075 {
00076 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > {
00080 static const char* value()
00081 {
00082 return "9eadcd72801a473181cb7b090c264a15";
00083 }
00084
00085 static const char* value(const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> &) { return value(); }
00086 static const uint64_t static_value1 = 0x9eadcd72801a4731ULL;
00087 static const uint64_t static_value2 = 0x81cb7b090c264a15ULL;
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct DataType< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "srs_symbolic_grounding/FurnitureGeometry";
00095 }
00096
00097 static const char* value(const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> &) { return value(); }
00098 };
00099
00100 template<class ContainerAllocator>
00101 struct Definition< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "geometry_msgs/Pose2D pose\n\
00105 float32 l\n\
00106 float32 w\n\
00107 float32 h\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: geometry_msgs/Pose2D\n\
00111 # This expresses a position and orientation on a 2D manifold.\n\
00112 \n\
00113 float64 x\n\
00114 float64 y\n\
00115 float64 theta\n\
00116 ";
00117 }
00118
00119 static const char* value(const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator> struct IsFixedSize< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > : public TrueType {};
00123 }
00124 }
00125
00126 namespace ros
00127 {
00128 namespace serialization
00129 {
00130
00131 template<class ContainerAllocator> struct Serializer< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> >
00132 {
00133 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00134 {
00135 stream.next(m.pose);
00136 stream.next(m.l);
00137 stream.next(m.w);
00138 stream.next(m.h);
00139 }
00140
00141 ROS_DECLARE_ALLINONE_SERIALIZER;
00142 };
00143 }
00144 }
00145
00146 namespace ros
00147 {
00148 namespace message_operations
00149 {
00150
00151 template<class ContainerAllocator>
00152 struct Printer< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> >
00153 {
00154 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> & v)
00155 {
00156 s << indent << "pose: ";
00157 s << std::endl;
00158 Printer< ::geometry_msgs::Pose2D_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00159 s << indent << "l: ";
00160 Printer<float>::stream(s, indent + " ", v.l);
00161 s << indent << "w: ";
00162 Printer<float>::stream(s, indent + " ", v.w);
00163 s << indent << "h: ";
00164 Printer<float>::stream(s, indent + " ", v.h);
00165 }
00166 };
00167
00168
00169 }
00170 }
00171
00172 #endif // SRS_SYMBOLIC_GROUNDING_MESSAGE_FURNITUREGEOMETRY_H
00173