Go to the documentation of this file.00001
00002 #ifndef SRS_MSGS_MESSAGE_SRSSPATIALINFO_H
00003 #define SRS_MSGS_MESSAGE_SRSSPATIALINFO_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/Pose.h"
00018
00019 namespace srs_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct SRSSpatialInfo_ {
00023 typedef SRSSpatialInfo_<ContainerAllocator> Type;
00024
00025 SRSSpatialInfo_()
00026 : l(0.0)
00027 , w(0.0)
00028 , h(0.0)
00029 , pose()
00030 {
00031 }
00032
00033 SRSSpatialInfo_(const ContainerAllocator& _alloc)
00034 : l(0.0)
00035 , w(0.0)
00036 , h(0.0)
00037 , pose(_alloc)
00038 {
00039 }
00040
00041 typedef float _l_type;
00042 float l;
00043
00044 typedef float _w_type;
00045 float w;
00046
00047 typedef float _h_type;
00048 float h;
00049
00050 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
00051 ::geometry_msgs::Pose_<ContainerAllocator> pose;
00052
00053
00054 typedef boost::shared_ptr< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> > Ptr;
00055 typedef boost::shared_ptr< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> const> ConstPtr;
00056 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 };
00058 typedef ::srs_msgs::SRSSpatialInfo_<std::allocator<void> > SRSSpatialInfo;
00059
00060 typedef boost::shared_ptr< ::srs_msgs::SRSSpatialInfo> SRSSpatialInfoPtr;
00061 typedef boost::shared_ptr< ::srs_msgs::SRSSpatialInfo const> SRSSpatialInfoConstPtr;
00062
00063
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> & v)
00066 {
00067 ros::message_operations::Printer< ::srs_msgs::SRSSpatialInfo_<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_msgs::SRSSpatialInfo_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> > {
00080 static const char* value()
00081 {
00082 return "258ee9bd984fca3e863d2c8404dc39e3";
00083 }
00084
00085 static const char* value(const ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> &) { return value(); }
00086 static const uint64_t static_value1 = 0x258ee9bd984fca3eULL;
00087 static const uint64_t static_value2 = 0x863d2c8404dc39e3ULL;
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct DataType< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "srs_msgs/SRSSpatialInfo";
00095 }
00096
00097 static const char* value(const ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> &) { return value(); }
00098 };
00099
00100 template<class ContainerAllocator>
00101 struct Definition< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "# Point point\n\
00105 # Orientation angles\n\
00106 float32 l\n\
00107 float32 w\n\
00108 float32 h\n\
00109 \n\
00110 geometry_msgs/Pose pose\n\
00111 \n\
00112 ================================================================================\n\
00113 MSG: geometry_msgs/Pose\n\
00114 # A representation of pose in free space, composed of postion and orientation. \n\
00115 Point position\n\
00116 Quaternion orientation\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: geometry_msgs/Point\n\
00120 # This contains the position of a point in free space\n\
00121 float64 x\n\
00122 float64 y\n\
00123 float64 z\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: geometry_msgs/Quaternion\n\
00127 # This represents an orientation in free space in quaternion form.\n\
00128 \n\
00129 float64 x\n\
00130 float64 y\n\
00131 float64 z\n\
00132 float64 w\n\
00133 \n\
00134 ";
00135 }
00136
00137 static const char* value(const ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> &) { return value(); }
00138 };
00139
00140 template<class ContainerAllocator> struct IsFixedSize< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> > : public TrueType {};
00141 }
00142 }
00143
00144 namespace ros
00145 {
00146 namespace serialization
00147 {
00148
00149 template<class ContainerAllocator> struct Serializer< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> >
00150 {
00151 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00152 {
00153 stream.next(m.l);
00154 stream.next(m.w);
00155 stream.next(m.h);
00156 stream.next(m.pose);
00157 }
00158
00159 ROS_DECLARE_ALLINONE_SERIALIZER;
00160 };
00161 }
00162 }
00163
00164 namespace ros
00165 {
00166 namespace message_operations
00167 {
00168
00169 template<class ContainerAllocator>
00170 struct Printer< ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> >
00171 {
00172 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_msgs::SRSSpatialInfo_<ContainerAllocator> & v)
00173 {
00174 s << indent << "l: ";
00175 Printer<float>::stream(s, indent + " ", v.l);
00176 s << indent << "w: ";
00177 Printer<float>::stream(s, indent + " ", v.w);
00178 s << indent << "h: ";
00179 Printer<float>::stream(s, indent + " ", v.h);
00180 s << indent << "pose: ";
00181 s << std::endl;
00182 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00183 }
00184 };
00185
00186
00187 }
00188 }
00189
00190 #endif // SRS_MSGS_MESSAGE_SRSSPATIALINFO_H
00191