Loading...
Searching...
No Matches
SmartTimeMeasureWrapper Class Reference

Smart class to manage ITimeMeasureWrapper. More...

#include <SmartDataDistributionManager.h>

Inheritance diagram for SmartTimeMeasureWrapper:
ITimeMeasureWrapper

Public Member Functions

 SmartTimeMeasureWrapper ()
 Initialize a new SmartTimeMeasureWrapper.
 
 ~SmartTimeMeasureWrapper ()
 Destructor of SmartTimeMeasureWrapper.
 
void ResetTime ()
 Reset the timer.
 
int64_t ElapsedMilliseconds ()
 Reports the elapsed time in milliseconds.
 
int64_t ElapsedMicroseconds ()
 Reports the elapsed time in microseconds.
 
int64_t ElapsedNanoseconds ()
 Reports the elapsed time in nanoseconds.
 
void AddNanoseconds (unsigned int time)
 Adds nanoseconds time to actual value.
 
- Public Member Functions inherited from ITimeMeasureWrapper

Detailed Description

Smart class to manage ITimeMeasureWrapper.

A smart manager for timing

Constructor & Destructor Documentation

◆ SmartTimeMeasureWrapper()

SmartTimeMeasureWrapper::SmartTimeMeasureWrapper ( )

Initialize a new SmartTimeMeasureWrapper.

◆ ~SmartTimeMeasureWrapper()

SmartTimeMeasureWrapper::~SmartTimeMeasureWrapper ( )

Destructor of SmartTimeMeasureWrapper.

Member Function Documentation

◆ AddNanoseconds()

void SmartTimeMeasureWrapper::AddNanoseconds ( unsigned int time)
virtual

Adds nanoseconds time to actual value.

Use to function to add time nanoseconds to current value

time the nanoseconds to be added

Implements ITimeMeasureWrapper.

◆ ElapsedMicroseconds()

int64_t SmartTimeMeasureWrapper::ElapsedMicroseconds ( )
virtual

Reports the elapsed time in microseconds.

Use to function to get the elapsed time in microseconds

Returns
the elapsed time in microseconds

Implements ITimeMeasureWrapper.

◆ ElapsedMilliseconds()

int64_t SmartTimeMeasureWrapper::ElapsedMilliseconds ( )
virtual

Reports the elapsed time in milliseconds.

Use to function to get the elapsed time in milliseconds

Returns
the elapsed time in milliseconds

Implements ITimeMeasureWrapper.

◆ ElapsedNanoseconds()

int64_t SmartTimeMeasureWrapper::ElapsedNanoseconds ( )
virtual

Reports the elapsed time in nanoseconds.

Use to function to get the elapsed time in nanoseconds

Returns
the elapsed time in nanoseconds

Implements ITimeMeasureWrapper.

◆ ResetTime()

void SmartTimeMeasureWrapper::ResetTime ( )
virtual

Reset the timer.

Reset the timer information to zero

Implements ITimeMeasureWrapper.


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