Public Types | Public Member Functions | Protected Attributes | List of all members
jsk_recognition_utils::ScopedWallDurationReporter Class Reference

#include <time_util.h>

Public Types

typedef boost::shared_ptr< ScopedWallDurationReporterPtr
 

Public Member Functions

 ScopedWallDurationReporter (WallDurationTimer *parent)
 
 ScopedWallDurationReporter (WallDurationTimer *parent, ros::Publisher &pub_latest, ros::Publisher &pub_average)
 
virtual void setIsEnabled (bool)
 
virtual void setIsPublish (bool)
 
virtual ~ScopedWallDurationReporter ()
 

Protected Attributes

bool is_enabled_
 
bool is_publish_
 
WallDurationTimerparent_
 
ros::Publisher pub_average_
 
ros::Publisher pub_latest_
 
ros::WallTime start_time_
 

Detailed Description

Definition at line 44 of file time_util.h.

Member Typedef Documentation

Definition at line 47 of file time_util.h.

Constructor & Destructor Documentation

jsk_recognition_utils::ScopedWallDurationReporter::ScopedWallDurationReporter ( WallDurationTimer parent)

Definition at line 41 of file time_util.cpp.

jsk_recognition_utils::ScopedWallDurationReporter::ScopedWallDurationReporter ( WallDurationTimer parent,
ros::Publisher pub_latest,
ros::Publisher pub_average 
)

Definition at line 48 of file time_util.cpp.

jsk_recognition_utils::ScopedWallDurationReporter::~ScopedWallDurationReporter ( )
virtual

Definition at line 59 of file time_util.cpp.

Member Function Documentation

void jsk_recognition_utils::ScopedWallDurationReporter::setIsEnabled ( bool  v)
virtual

Definition at line 81 of file time_util.cpp.

void jsk_recognition_utils::ScopedWallDurationReporter::setIsPublish ( bool  v)
virtual

Definition at line 76 of file time_util.cpp.

Member Data Documentation

bool jsk_recognition_utils::ScopedWallDurationReporter::is_enabled_
protected

Definition at line 60 of file time_util.h.

bool jsk_recognition_utils::ScopedWallDurationReporter::is_publish_
protected

Definition at line 59 of file time_util.h.

WallDurationTimer* jsk_recognition_utils::ScopedWallDurationReporter::parent_
protected

Definition at line 56 of file time_util.h.

ros::Publisher jsk_recognition_utils::ScopedWallDurationReporter::pub_average_
protected

Definition at line 58 of file time_util.h.

ros::Publisher jsk_recognition_utils::ScopedWallDurationReporter::pub_latest_
protected

Definition at line 58 of file time_util.h.

ros::WallTime jsk_recognition_utils::ScopedWallDurationReporter::start_time_
protected

Definition at line 57 of file time_util.h.


The documentation for this class was generated from the following files:


jsk_recognition_utils
Author(s):
autogenerated on Mon May 3 2021 03:03:03