$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_symbolic_grounding/msg/FurnitureGeometry.msg */ 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 private: 00055 static const char* __s_getDataType_() { return "srs_symbolic_grounding/FurnitureGeometry"; } 00056 public: 00057 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00058 00059 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00060 00061 private: 00062 static const char* __s_getMD5Sum_() { return "9eadcd72801a473181cb7b090c264a15"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00065 00066 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00067 00068 private: 00069 static const char* __s_getMessageDefinition_() { return "geometry_msgs/Pose2D pose\n\ 00070 float32 l\n\ 00071 float32 w\n\ 00072 float32 h\n\ 00073 \n\ 00074 ================================================================================\n\ 00075 MSG: geometry_msgs/Pose2D\n\ 00076 # This expresses a position and orientation on a 2D manifold.\n\ 00077 \n\ 00078 float64 x\n\ 00079 float64 y\n\ 00080 float64 theta\n\ 00081 "; } 00082 public: 00083 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00084 00085 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00086 00087 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00088 { 00089 ros::serialization::OStream stream(write_ptr, 1000000000); 00090 ros::serialization::serialize(stream, pose); 00091 ros::serialization::serialize(stream, l); 00092 ros::serialization::serialize(stream, w); 00093 ros::serialization::serialize(stream, h); 00094 return stream.getData(); 00095 } 00096 00097 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00098 { 00099 ros::serialization::IStream stream(read_ptr, 1000000000); 00100 ros::serialization::deserialize(stream, pose); 00101 ros::serialization::deserialize(stream, l); 00102 ros::serialization::deserialize(stream, w); 00103 ros::serialization::deserialize(stream, h); 00104 return stream.getData(); 00105 } 00106 00107 ROS_DEPRECATED virtual uint32_t serializationLength() const 00108 { 00109 uint32_t size = 0; 00110 size += ros::serialization::serializationLength(pose); 00111 size += ros::serialization::serializationLength(l); 00112 size += ros::serialization::serializationLength(w); 00113 size += ros::serialization::serializationLength(h); 00114 return size; 00115 } 00116 00117 typedef boost::shared_ptr< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > Ptr; 00118 typedef boost::shared_ptr< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> const> ConstPtr; 00119 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00120 }; // struct FurnitureGeometry 00121 typedef ::srs_symbolic_grounding::FurnitureGeometry_<std::allocator<void> > FurnitureGeometry; 00122 00123 typedef boost::shared_ptr< ::srs_symbolic_grounding::FurnitureGeometry> FurnitureGeometryPtr; 00124 typedef boost::shared_ptr< ::srs_symbolic_grounding::FurnitureGeometry const> FurnitureGeometryConstPtr; 00125 00126 00127 template<typename ContainerAllocator> 00128 std::ostream& operator<<(std::ostream& s, const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> & v) 00129 { 00130 ros::message_operations::Printer< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> >::stream(s, "", v); 00131 return s;} 00132 00133 } // namespace srs_symbolic_grounding 00134 00135 namespace ros 00136 { 00137 namespace message_traits 00138 { 00139 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > : public TrueType {}; 00140 template<class ContainerAllocator> struct IsMessage< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> const> : public TrueType {}; 00141 template<class ContainerAllocator> 00142 struct MD5Sum< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > { 00143 static const char* value() 00144 { 00145 return "9eadcd72801a473181cb7b090c264a15"; 00146 } 00147 00148 static const char* value(const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> &) { return value(); } 00149 static const uint64_t static_value1 = 0x9eadcd72801a4731ULL; 00150 static const uint64_t static_value2 = 0x81cb7b090c264a15ULL; 00151 }; 00152 00153 template<class ContainerAllocator> 00154 struct DataType< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > { 00155 static const char* value() 00156 { 00157 return "srs_symbolic_grounding/FurnitureGeometry"; 00158 } 00159 00160 static const char* value(const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> &) { return value(); } 00161 }; 00162 00163 template<class ContainerAllocator> 00164 struct Definition< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > { 00165 static const char* value() 00166 { 00167 return "geometry_msgs/Pose2D pose\n\ 00168 float32 l\n\ 00169 float32 w\n\ 00170 float32 h\n\ 00171 \n\ 00172 ================================================================================\n\ 00173 MSG: geometry_msgs/Pose2D\n\ 00174 # This expresses a position and orientation on a 2D manifold.\n\ 00175 \n\ 00176 float64 x\n\ 00177 float64 y\n\ 00178 float64 theta\n\ 00179 "; 00180 } 00181 00182 static const char* value(const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> &) { return value(); } 00183 }; 00184 00185 template<class ContainerAllocator> struct IsFixedSize< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > : public TrueType {}; 00186 } // namespace message_traits 00187 } // namespace ros 00188 00189 namespace ros 00190 { 00191 namespace serialization 00192 { 00193 00194 template<class ContainerAllocator> struct Serializer< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > 00195 { 00196 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00197 { 00198 stream.next(m.pose); 00199 stream.next(m.l); 00200 stream.next(m.w); 00201 stream.next(m.h); 00202 } 00203 00204 ROS_DECLARE_ALLINONE_SERIALIZER; 00205 }; // struct FurnitureGeometry_ 00206 } // namespace serialization 00207 } // namespace ros 00208 00209 namespace ros 00210 { 00211 namespace message_operations 00212 { 00213 00214 template<class ContainerAllocator> 00215 struct Printer< ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> > 00216 { 00217 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_symbolic_grounding::FurnitureGeometry_<ContainerAllocator> & v) 00218 { 00219 s << indent << "pose: "; 00220 s << std::endl; 00221 Printer< ::geometry_msgs::Pose2D_<ContainerAllocator> >::stream(s, indent + " ", v.pose); 00222 s << indent << "l: "; 00223 Printer<float>::stream(s, indent + " ", v.l); 00224 s << indent << "w: "; 00225 Printer<float>::stream(s, indent + " ", v.w); 00226 s << indent << "h: "; 00227 Printer<float>::stream(s, indent + " ", v.h); 00228 } 00229 }; 00230 00231 00232 } // namespace message_operations 00233 } // namespace ros 00234 00235 #endif // SRS_SYMBOLIC_GROUNDING_MESSAGE_FURNITUREGEOMETRY_H 00236