GazeboBenchmarks.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_simulator/doc_stacks/2014-01-02_11-42-49.067104/pr2_simulator/pr2_gazebo_benchmarks/msg/GazeboBenchmarks.msg */
00002 #ifndef PR2_GAZEBO_BENCHMARKS_MESSAGE_GAZEBOBENCHMARKS_H
00003 #define PR2_GAZEBO_BENCHMARKS_MESSAGE_GAZEBOBENCHMARKS_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_gazebo_benchmarks
00019 {
00020 template <class ContainerAllocator>
00021 struct GazeboBenchmarks_ {
00022   typedef GazeboBenchmarks_<ContainerAllocator> Type;
00023 
00024   GazeboBenchmarks_()
00025   : max_duration(0.0)
00026   , min_duration(0.0)
00027   , avg_duration(0.0)
00028   , tot_duration(0.0)
00029   , cur_duration(0.0)
00030   , count(0)
00031   {
00032   }
00033 
00034   GazeboBenchmarks_(const ContainerAllocator& _alloc)
00035   : max_duration(0.0)
00036   , min_duration(0.0)
00037   , avg_duration(0.0)
00038   , tot_duration(0.0)
00039   , cur_duration(0.0)
00040   , count(0)
00041   {
00042   }
00043 
00044   typedef double _max_duration_type;
00045   double max_duration;
00046 
00047   typedef double _min_duration_type;
00048   double min_duration;
00049 
00050   typedef double _avg_duration_type;
00051   double avg_duration;
00052 
00053   typedef double _tot_duration_type;
00054   double tot_duration;
00055 
00056   typedef double _cur_duration_type;
00057   double cur_duration;
00058 
00059   typedef uint32_t _count_type;
00060   uint32_t count;
00061 
00062 
00063   typedef boost::shared_ptr< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> > Ptr;
00064   typedef boost::shared_ptr< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator>  const> ConstPtr;
00065   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 }; // struct GazeboBenchmarks
00067 typedef  ::pr2_gazebo_benchmarks::GazeboBenchmarks_<std::allocator<void> > GazeboBenchmarks;
00068 
00069 typedef boost::shared_ptr< ::pr2_gazebo_benchmarks::GazeboBenchmarks> GazeboBenchmarksPtr;
00070 typedef boost::shared_ptr< ::pr2_gazebo_benchmarks::GazeboBenchmarks const> GazeboBenchmarksConstPtr;
00071 
00072 
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const  ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> & v)
00075 {
00076   ros::message_operations::Printer< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> >::stream(s, "", v);
00077   return s;}
00078 
00079 } // namespace pr2_gazebo_benchmarks
00080 
00081 namespace ros
00082 {
00083 namespace message_traits
00084 {
00085 template<class ContainerAllocator> struct IsMessage< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator>  const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "edc3f5a3db68624a17b9366945a951f6";
00092   }
00093 
00094   static const char* value(const  ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> &) { return value(); } 
00095   static const uint64_t static_value1 = 0xedc3f5a3db68624aULL;
00096   static const uint64_t static_value2 = 0x17b9366945a951f6ULL;
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct DataType< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "pr2_gazebo_benchmarks/GazeboBenchmarks";
00104   }
00105 
00106   static const char* value(const  ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 template<class ContainerAllocator>
00110 struct Definition< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "float64 max_duration\n\
00114 float64 min_duration\n\
00115 float64 avg_duration\n\
00116 float64 tot_duration\n\
00117 float64 cur_duration\n\
00118 uint32  count\n\
00119 \n\
00120 ";
00121   }
00122 
00123   static const char* value(const  ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> &) { return value(); } 
00124 };
00125 
00126 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> > : public TrueType {};
00127 } // namespace message_traits
00128 } // namespace ros
00129 
00130 namespace ros
00131 {
00132 namespace serialization
00133 {
00134 
00135 template<class ContainerAllocator> struct Serializer< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> >
00136 {
00137   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00138   {
00139     stream.next(m.max_duration);
00140     stream.next(m.min_duration);
00141     stream.next(m.avg_duration);
00142     stream.next(m.tot_duration);
00143     stream.next(m.cur_duration);
00144     stream.next(m.count);
00145   }
00146 
00147   ROS_DECLARE_ALLINONE_SERIALIZER;
00148 }; // struct GazeboBenchmarks_
00149 } // namespace serialization
00150 } // namespace ros
00151 
00152 namespace ros
00153 {
00154 namespace message_operations
00155 {
00156 
00157 template<class ContainerAllocator>
00158 struct Printer< ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> >
00159 {
00160   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_gazebo_benchmarks::GazeboBenchmarks_<ContainerAllocator> & v) 
00161   {
00162     s << indent << "max_duration: ";
00163     Printer<double>::stream(s, indent + "  ", v.max_duration);
00164     s << indent << "min_duration: ";
00165     Printer<double>::stream(s, indent + "  ", v.min_duration);
00166     s << indent << "avg_duration: ";
00167     Printer<double>::stream(s, indent + "  ", v.avg_duration);
00168     s << indent << "tot_duration: ";
00169     Printer<double>::stream(s, indent + "  ", v.tot_duration);
00170     s << indent << "cur_duration: ";
00171     Printer<double>::stream(s, indent + "  ", v.cur_duration);
00172     s << indent << "count: ";
00173     Printer<uint32_t>::stream(s, indent + "  ", v.count);
00174   }
00175 };
00176 
00177 
00178 } // namespace message_operations
00179 } // namespace ros
00180 
00181 #endif // PR2_GAZEBO_BENCHMARKS_MESSAGE_GAZEBOBENCHMARKS_H
00182 


pr2_gazebo_benchmarks
Author(s): John Hsu
autogenerated on Thu Jan 2 2014 11:45:34