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.
 
 FrequencyReporter (DebugObserverInterfacePrx debugObserver, const std::string &name)
 Construct a new Frequency Reporter object.
 
 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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FrequencyReporter() [2/2]

+ Here is the call graph for this function:

◆ ~FrequencyReporter()

~FrequencyReporter ( )
virtual

Definition at line 24 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 33 of file FrequencyReporter.cpp.

+ Here is the call graph for this function:

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