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