Go to the documentation of this file.00001
00002 #ifndef RVE_MSGS_MESSAGE_RENDERTARGETFRAMESTATS_H
00003 #define RVE_MSGS_MESSAGE_RENDERTARGETFRAMESTATS_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/UUID.h"
00018
00019 namespace rve_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct RenderTargetFrameStats_ {
00023 typedef RenderTargetFrameStats_<ContainerAllocator> Type;
00024
00025 RenderTargetFrameStats_()
00026 : id()
00027 , blit_to_main(0.0)
00028 , main_swap(0.0)
00029 , gbuffer_update(0.0)
00030 , gbuffer_swap(0.0)
00031 {
00032 }
00033
00034 RenderTargetFrameStats_(const ContainerAllocator& _alloc)
00035 : id(_alloc)
00036 , blit_to_main(0.0)
00037 , main_swap(0.0)
00038 , gbuffer_update(0.0)
00039 , gbuffer_swap(0.0)
00040 {
00041 }
00042
00043 typedef ::rve_msgs::UUID_<ContainerAllocator> _id_type;
00044 ::rve_msgs::UUID_<ContainerAllocator> id;
00045
00046 typedef double _blit_to_main_type;
00047 double blit_to_main;
00048
00049 typedef double _main_swap_type;
00050 double main_swap;
00051
00052 typedef double _gbuffer_update_type;
00053 double gbuffer_update;
00054
00055 typedef double _gbuffer_swap_type;
00056 double gbuffer_swap;
00057
00058
00059 typedef boost::shared_ptr< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::rve_msgs::RenderTargetFrameStats_<std::allocator<void> > RenderTargetFrameStats;
00064
00065 typedef boost::shared_ptr< ::rve_msgs::RenderTargetFrameStats> RenderTargetFrameStatsPtr;
00066 typedef boost::shared_ptr< ::rve_msgs::RenderTargetFrameStats const> RenderTargetFrameStatsConstPtr;
00067
00068
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> & v)
00071 {
00072 ros::message_operations::Printer< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> >::stream(s, "", v);
00073 return s;}
00074
00075 }
00076
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> > {
00085 static const char* value()
00086 {
00087 return "5a0895fdd149215bc728155ab3857266";
00088 }
00089
00090 static const char* value(const ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> &) { return value(); }
00091 static const uint64_t static_value1 = 0x5a0895fdd149215bULL;
00092 static const uint64_t static_value2 = 0xc728155ab3857266ULL;
00093 };
00094
00095 template<class ContainerAllocator>
00096 struct DataType< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "rve_msgs/RenderTargetFrameStats";
00100 }
00101
00102 static const char* value(const ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> &) { return value(); }
00103 };
00104
00105 template<class ContainerAllocator>
00106 struct Definition< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "UUID id\n\
00110 \n\
00111 float64 blit_to_main\n\
00112 float64 main_swap\n\
00113 \n\
00114 float64 gbuffer_update\n\
00115 float64 gbuffer_swap\n\
00116 ================================================================================\n\
00117 MSG: rve_msgs/UUID\n\
00118 uint8[16] data\n\
00119 \n\
00120 ";
00121 }
00122
00123 static const char* value(const ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator> struct IsFixedSize< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> > : public TrueType {};
00127 }
00128 }
00129
00130 namespace ros
00131 {
00132 namespace serialization
00133 {
00134
00135 template<class ContainerAllocator> struct Serializer< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> >
00136 {
00137 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00138 {
00139 stream.next(m.id);
00140 stream.next(m.blit_to_main);
00141 stream.next(m.main_swap);
00142 stream.next(m.gbuffer_update);
00143 stream.next(m.gbuffer_swap);
00144 }
00145
00146 ROS_DECLARE_ALLINONE_SERIALIZER;
00147 };
00148 }
00149 }
00150
00151 namespace ros
00152 {
00153 namespace message_operations
00154 {
00155
00156 template<class ContainerAllocator>
00157 struct Printer< ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> >
00158 {
00159 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::rve_msgs::RenderTargetFrameStats_<ContainerAllocator> & v)
00160 {
00161 s << indent << "id: ";
00162 s << std::endl;
00163 Printer< ::rve_msgs::UUID_<ContainerAllocator> >::stream(s, indent + " ", v.id);
00164 s << indent << "blit_to_main: ";
00165 Printer<double>::stream(s, indent + " ", v.blit_to_main);
00166 s << indent << "main_swap: ";
00167 Printer<double>::stream(s, indent + " ", v.main_swap);
00168 s << indent << "gbuffer_update: ";
00169 Printer<double>::stream(s, indent + " ", v.gbuffer_update);
00170 s << indent << "gbuffer_swap: ";
00171 Printer<double>::stream(s, indent + " ", v.gbuffer_swap);
00172 }
00173 };
00174
00175
00176 }
00177 }
00178
00179 #endif // RVE_MSGS_MESSAGE_RENDERTARGETFRAMESTATS_H
00180