#include <timer.h>
Public Types | |
enum | DIAGNOSTIC_FLAGS { DIAG_COUNT = 1 << 0, DIAG_RATE = 1 << 1, DIAG_DURATION = 1 << 2, DIAG_ALL = ~0, DIAG_MOST = DIAG_ALL ^ DIAG_COUNT } |
Public Member Functions | |
void | appendDiagnostics (diagnostic_updater::DiagnosticStatusWrapper &status, const std::string &name, const int flags) |
double | desiredFrequency () const |
ros::Duration | desiredPeriod () const |
ros::WallDuration | maxDuration () const |
double | maxDurationMicroseconds () const |
ros::Duration | maxPeriod () const |
double | maxPeriodMilliseconds () const |
ros::WallDuration | meanDuration () const |
double | meanDurationMicroseconds () const |
double | meanFrequencyHz () const |
ros::Duration | meanPeriod () const |
double | meanPeriodMilliseconds () const |
ros::WallDuration | minDuration () const |
double | minDurationMicroseconds () const |
ros::Duration | minPeriod () const |
double | minPeriodMilliseconds () const |
Timer & | operator= (const Timer &other) |
void | resetStatistics () |
size_t | ticks () const |
Timer () | |
template<class T > | |
Timer (ros::NodeHandle &nh, ros::Duration period, void(T::*callback)(const ros::TimerEvent &), T *obj) | |
Private Attributes | |
boost::shared_ptr< TimerImpl > | impl_ |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |