37 #include <boost/circular_buffer.hpp> 38 #include <std_msgs/Float32.h> 42 class WallDurationTimer;
75 virtual void clearBuffer();
76 virtual double meanSec();
77 virtual double latestSec();
78 virtual size_t sampleNum();
81 boost::circular_buffer<ros::WallDuration>
buffer_;
virtual void setIsEnabled(bool)
virtual ~ScopedWallDurationReporter()
boost::circular_buffer< ros::WallDuration > buffer_
boost::shared_ptr< WallDurationTimer > Ptr
ros::Publisher pub_average_
virtual void setIsPublish(bool)
ros::WallTime start_time_
ScopedWallDurationReporter(WallDurationTimer *parent)
ros::Publisher pub_latest_
WallDurationTimer * parent_
boost::shared_ptr< ScopedWallDurationReporter > Ptr