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


rve_msgs
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:30:38