Go to the documentation of this file.00001
00002 #ifndef RVE_MSGS_MESSAGE_MATRIX4_H
00003 #define RVE_MSGS_MESSAGE_MATRIX4_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
00018 namespace rve_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Matrix4_ {
00022 typedef Matrix4_<ContainerAllocator> Type;
00023
00024 Matrix4_()
00025 : m()
00026 {
00027 m.assign(0.0);
00028 }
00029
00030 Matrix4_(const ContainerAllocator& _alloc)
00031 : m()
00032 {
00033 m.assign(0.0);
00034 }
00035
00036 typedef boost::array<float, 16> _m_type;
00037 boost::array<float, 16> m;
00038
00039
00040 typedef boost::shared_ptr< ::rve_msgs::Matrix4_<ContainerAllocator> > Ptr;
00041 typedef boost::shared_ptr< ::rve_msgs::Matrix4_<ContainerAllocator> const> ConstPtr;
00042 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00043 };
00044 typedef ::rve_msgs::Matrix4_<std::allocator<void> > Matrix4;
00045
00046 typedef boost::shared_ptr< ::rve_msgs::Matrix4> Matrix4Ptr;
00047 typedef boost::shared_ptr< ::rve_msgs::Matrix4 const> Matrix4ConstPtr;
00048
00049
00050 template<typename ContainerAllocator>
00051 std::ostream& operator<<(std::ostream& s, const ::rve_msgs::Matrix4_<ContainerAllocator> & v)
00052 {
00053 ros::message_operations::Printer< ::rve_msgs::Matrix4_<ContainerAllocator> >::stream(s, "", v);
00054 return s;}
00055
00056 }
00057
00058 namespace ros
00059 {
00060 namespace message_traits
00061 {
00062 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::Matrix4_<ContainerAllocator> > : public TrueType {};
00063 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::Matrix4_<ContainerAllocator> const> : public TrueType {};
00064 template<class ContainerAllocator>
00065 struct MD5Sum< ::rve_msgs::Matrix4_<ContainerAllocator> > {
00066 static const char* value()
00067 {
00068 return "a50ec1c8c2829b160e4e35c9b42372f7";
00069 }
00070
00071 static const char* value(const ::rve_msgs::Matrix4_<ContainerAllocator> &) { return value(); }
00072 static const uint64_t static_value1 = 0xa50ec1c8c2829b16ULL;
00073 static const uint64_t static_value2 = 0x0e4e35c9b42372f7ULL;
00074 };
00075
00076 template<class ContainerAllocator>
00077 struct DataType< ::rve_msgs::Matrix4_<ContainerAllocator> > {
00078 static const char* value()
00079 {
00080 return "rve_msgs/Matrix4";
00081 }
00082
00083 static const char* value(const ::rve_msgs::Matrix4_<ContainerAllocator> &) { return value(); }
00084 };
00085
00086 template<class ContainerAllocator>
00087 struct Definition< ::rve_msgs::Matrix4_<ContainerAllocator> > {
00088 static const char* value()
00089 {
00090 return "# pack in row-major order: m[row*4 + col] = value\n\
00091 float32[16] m\n\
00092 \n\
00093 ";
00094 }
00095
00096 static const char* value(const ::rve_msgs::Matrix4_<ContainerAllocator> &) { return value(); }
00097 };
00098
00099 template<class ContainerAllocator> struct IsFixedSize< ::rve_msgs::Matrix4_<ContainerAllocator> > : public TrueType {};
00100 }
00101 }
00102
00103 namespace ros
00104 {
00105 namespace serialization
00106 {
00107
00108 template<class ContainerAllocator> struct Serializer< ::rve_msgs::Matrix4_<ContainerAllocator> >
00109 {
00110 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00111 {
00112 stream.next(m.m);
00113 }
00114
00115 ROS_DECLARE_ALLINONE_SERIALIZER;
00116 };
00117 }
00118 }
00119
00120 namespace ros
00121 {
00122 namespace message_operations
00123 {
00124
00125 template<class ContainerAllocator>
00126 struct Printer< ::rve_msgs::Matrix4_<ContainerAllocator> >
00127 {
00128 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::rve_msgs::Matrix4_<ContainerAllocator> & v)
00129 {
00130 s << indent << "m[]" << std::endl;
00131 for (size_t i = 0; i < v.m.size(); ++i)
00132 {
00133 s << indent << " m[" << i << "]: ";
00134 Printer<float>::stream(s, indent + " ", v.m[i]);
00135 }
00136 }
00137 };
00138
00139
00140 }
00141 }
00142
00143 #endif // RVE_MSGS_MESSAGE_MATRIX4_H
00144