ScopedStopWatch Class Reference

#include <ArmarXCore/core/time/ScopedStopWatch.h>

+ Inheritance diagram for ScopedStopWatch:

Public Member Functions

 ScopedStopWatch (std::function< void(IceUtil::Time)> callback, armarx::TimeMode timeMode=armarx::TimeMode::SystemTime)
 
virtual ~ScopedStopWatch () override
 
- Public Member Functions inherited from StopWatch
bool isStopped () const
 
void reset ()
 
IceUtil::Time startingTime () const
 
IceUtil::Time stop ()
 
IceUtil::Time stoppingTime () const
 
 StopWatch (armarx::TimeMode timeMode=armarx::TimeMode::SystemTime)
 
virtual ~StopWatch ()
 

Additional Inherited Members

- Static Public Member Functions inherited from StopWatch
static IceUtil::Time measure (std::function< void(void)> subjectToMeasure, armarx::TimeMode timeMode=armarx::TimeMode::SystemTime)
 

Detailed Description

Definition at line 59 of file ScopedStopWatch.h.

Constructor & Destructor Documentation

◆ ScopedStopWatch()

ScopedStopWatch ( std::function< void(IceUtil::Time)>  callback,
armarx::TimeMode  timeMode = armarx::TimeMode::SystemTime 
)

Definition at line 31 of file ScopedStopWatch.cpp.

◆ ~ScopedStopWatch()

~ScopedStopWatch ( )
overridevirtual

Definition at line 39 of file ScopedStopWatch.cpp.

+ Here is the call graph for this function:

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