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 76 of file time_util.h.

Member Typedef Documentation

◆ Ptr

Definition at line 79 of file time_util.h.

Constructor & Destructor Documentation

◆ ScopedWallDurationReporter() [1/2]

jsk_recognition_utils::ScopedWallDurationReporter::ScopedWallDurationReporter ( WallDurationTimer parent)

Definition at line 73 of file time_util.cpp.

◆ ScopedWallDurationReporter() [2/2]

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

Definition at line 80 of file time_util.cpp.

◆ ~ScopedWallDurationReporter()

jsk_recognition_utils::ScopedWallDurationReporter::~ScopedWallDurationReporter ( )
virtual

Definition at line 91 of file time_util.cpp.

Member Function Documentation

◆ setIsEnabled()

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

Definition at line 113 of file time_util.cpp.

◆ setIsPublish()

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

Definition at line 108 of file time_util.cpp.

Member Data Documentation

◆ is_enabled_

bool jsk_recognition_utils::ScopedWallDurationReporter::is_enabled_
protected

Definition at line 92 of file time_util.h.

◆ is_publish_

bool jsk_recognition_utils::ScopedWallDurationReporter::is_publish_
protected

Definition at line 91 of file time_util.h.

◆ parent_

WallDurationTimer* jsk_recognition_utils::ScopedWallDurationReporter::parent_
protected

Definition at line 88 of file time_util.h.

◆ pub_average_

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

Definition at line 90 of file time_util.h.

◆ pub_latest_

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

Definition at line 90 of file time_util.h.

◆ start_time_

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

Definition at line 89 of file time_util.h.


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


jsk_recognition_utils
Author(s):
autogenerated on Tue Jan 7 2025 04:04:52