FrequencyReporter Class Reference

The FrequencyReporter class. More...

#include <ArmarXCore/libraries/logging/FrequencyReporter.h>

Public Member Functions

void add (armarx::core::time::DateTime timestamp)
 Add a new timestamp to the reporter. More...
 
 FrequencyReporter (DebugObserverInterfacePrx debugObserver, const std::string &name)
 Construct a new Frequency Reporter object. More...
 
 FrequencyReporter (FrequencyReporter &)=delete
 
virtual ~FrequencyReporter ()
 

Detailed Description

The FrequencyReporter class.

Use this class to monitor any periodic event. The frequency (mean, std) are sent to the DebugObserver.

Note: This class is thread safe.

Definition at line 22 of file FrequencyReporter.h.

Constructor & Destructor Documentation

◆ FrequencyReporter() [1/2]

FrequencyReporter ( DebugObserverInterfacePrx  debugObserver,
const std::string &  name 
)

Construct a new Frequency Reporter object.

Parameters
debugObserver
nameused to set the debug observer's channel name

Definition at line 15 of file FrequencyReporter.cpp.

◆ FrequencyReporter() [2/2]

◆ ~FrequencyReporter()

~FrequencyReporter ( )
virtual

Definition at line 27 of file FrequencyReporter.cpp.

Member Function Documentation

◆ add()

void add ( armarx::core::time::DateTime  timestamp)

Add a new timestamp to the reporter.

Parameters
timestampin [┬Ás]

Definition at line 35 of file FrequencyReporter.cpp.

+ Here is the call graph for this function:

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