libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::StopClockNano Class Referencefinal

Copy of the StopClock implementation but using a high_resolution timer and by default return nano seconds. More...

#include <StopClock.h>

Public Member Functions

double GetNanoseconds () const
 
StopClockNanooperator= (const StopClockNano &)=delete
 
StopClockNanooperator= (StopClockNano &&)=default
 
std::string ResultString () const
 
void Stop ()
 
 StopClockNano ()
 
 StopClockNano (const StopClockNano &other)=delete
 
 StopClockNano (StopClockNano &&)=default
 
 ~StopClockNano ()=default
 

Friends

std::ostream & operator<< (std::ostream &stream, const StopClockNano &stopClock)
 

Detailed Description

Copy of the StopClock implementation but using a high_resolution timer and by default return nano seconds.

Constructor & Destructor Documentation

◆ StopClockNano() [1/3]

osmscout::StopClockNano::StopClockNano ( )

◆ ~StopClockNano()

osmscout::StopClockNano::~StopClockNano ( )
default

◆ StopClockNano() [2/3]

osmscout::StopClockNano::StopClockNano ( const StopClockNano other)
delete

◆ StopClockNano() [3/3]

osmscout::StopClockNano::StopClockNano ( StopClockNano &&  )
default

Member Function Documentation

◆ GetNanoseconds()

double osmscout::StopClockNano::GetNanoseconds ( ) const

◆ operator=() [1/2]

StopClockNano& osmscout::StopClockNano::operator= ( const StopClockNano )
delete

◆ operator=() [2/2]

StopClockNano& osmscout::StopClockNano::operator= ( StopClockNano &&  )
default

◆ ResultString()

std::string osmscout::StopClockNano::ResultString ( ) const

References GetNanoseconds().

◆ Stop()

void osmscout::StopClockNano::Stop ( )

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const StopClockNano stopClock 
)
friend

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