|
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 () |
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.
FrequencyReporter | ( | DebugObserverInterfacePrx | debugObserver, |
const std::string & | name | ||
) |
Construct a new Frequency Reporter object.
debugObserver | |
name | used to set the debug observer's channel name |
Definition at line 15 of file FrequencyReporter.cpp.
|
delete |
|
virtual |
Definition at line 27 of file FrequencyReporter.cpp.
void add | ( | armarx::core::time::DateTime | timestamp | ) |
Add a new timestamp to the reporter.
timestamp | in [µs] |
Definition at line 35 of file FrequencyReporter.cpp.