Plot.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_self_test/doc_stacks/2013-12-28_17-26-17.231482/pr2_self_test/pr2_self_test_msgs/msg/Plot.msg */
00002 #ifndef PR2_SELF_TEST_MSGS_MESSAGE_PLOT_H
00003 #define PR2_SELF_TEST_MSGS_MESSAGE_PLOT_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 pr2_self_test_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Plot_ {
00022   typedef Plot_<ContainerAllocator> Type;
00023 
00024   Plot_()
00025   : title()
00026   , image()
00027   , image_format()
00028   {
00029   }
00030 
00031   Plot_(const ContainerAllocator& _alloc)
00032   : title(_alloc)
00033   , image(_alloc)
00034   , image_format(_alloc)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _title_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  title;
00040 
00041   typedef std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other >  _image_type;
00042   std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other >  image;
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _image_format_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  image_format;
00046 
00047 
00048   typedef boost::shared_ptr< ::pr2_self_test_msgs::Plot_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::pr2_self_test_msgs::Plot_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct Plot
00052 typedef  ::pr2_self_test_msgs::Plot_<std::allocator<void> > Plot;
00053 
00054 typedef boost::shared_ptr< ::pr2_self_test_msgs::Plot> PlotPtr;
00055 typedef boost::shared_ptr< ::pr2_self_test_msgs::Plot const> PlotConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::pr2_self_test_msgs::Plot_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::pr2_self_test_msgs::Plot_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace pr2_self_test_msgs
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::Plot_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::pr2_self_test_msgs::Plot_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::pr2_self_test_msgs::Plot_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "7b2b3d1ff7d1699544a2479e9175f3fb";
00077   }
00078 
00079   static const char* value(const  ::pr2_self_test_msgs::Plot_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0x7b2b3d1ff7d16995ULL;
00081   static const uint64_t static_value2 = 0x44a2479e9175f3fbULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::pr2_self_test_msgs::Plot_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "pr2_self_test_msgs/Plot";
00089   }
00090 
00091   static const char* value(const  ::pr2_self_test_msgs::Plot_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::pr2_self_test_msgs::Plot_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "# Plot data, used for PR2 self tests\n\
00099 string title\n\
00100 byte[] image\n\
00101 string image_format\n\
00102 \n\
00103 ";
00104   }
00105 
00106   static const char* value(const  ::pr2_self_test_msgs::Plot_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 } // namespace message_traits
00110 } // namespace ros
00111 
00112 namespace ros
00113 {
00114 namespace serialization
00115 {
00116 
00117 template<class ContainerAllocator> struct Serializer< ::pr2_self_test_msgs::Plot_<ContainerAllocator> >
00118 {
00119   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00120   {
00121     stream.next(m.title);
00122     stream.next(m.image);
00123     stream.next(m.image_format);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct Plot_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::pr2_self_test_msgs::Plot_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_self_test_msgs::Plot_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "title: ";
00142     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.title);
00143     s << indent << "image[]" << std::endl;
00144     for (size_t i = 0; i < v.image.size(); ++i)
00145     {
00146       s << indent << "  image[" << i << "]: ";
00147       Printer<int8_t>::stream(s, indent + "  ", v.image[i]);
00148     }
00149     s << indent << "image_format: ";
00150     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.image_format);
00151   }
00152 };
00153 
00154 
00155 } // namespace message_operations
00156 } // namespace ros
00157 
00158 #endif // PR2_SELF_TEST_MSGS_MESSAGE_PLOT_H
00159 


pr2_self_test_msgs
Author(s): Kevin Watts
autogenerated on Sat Dec 28 2013 17:29:33