Public Types | Public Member Functions | Public Attributes | List of all members
aruco::ScopeTimer Struct Reference

#include <timers.h>

Public Types

enum  SCALE { NSEC, MSEC, SEC }
 

Public Member Functions

 ScopeTimer (std::string name_, bool use_=true, SCALE _sc=MSEC)
 
 ~ScopeTimer ()
 

Public Attributes

std::chrono::high_resolution_clock::time_point begin
 
std::chrono::high_resolution_clock::time_point end
 
std::string name
 
SCALE sc
 
bool use
 

Detailed Description

Definition at line 30 of file timers.h.

Member Enumeration Documentation

◆ SCALE

Enumerator
NSEC 
MSEC 
SEC 

Definition at line 36 of file timers.h.

Constructor & Destructor Documentation

◆ ScopeTimer()

aruco::ScopeTimer::ScopeTimer ( std::string  name_,
bool  use_ = true,
SCALE  _sc = MSEC 
)
inline

Definition at line 43 of file timers.h.

◆ ~ScopeTimer()

aruco::ScopeTimer::~ScopeTimer ( )
inline

Definition at line 57 of file timers.h.

Member Data Documentation

◆ begin

std::chrono::high_resolution_clock::time_point aruco::ScopeTimer::begin

Definition at line 32 of file timers.h.

◆ end

std::chrono::high_resolution_clock::time_point aruco::ScopeTimer::end

Definition at line 32 of file timers.h.

◆ name

std::string aruco::ScopeTimer::name

Definition at line 34 of file timers.h.

◆ sc

SCALE aruco::ScopeTimer::sc

Definition at line 42 of file timers.h.

◆ use

bool aruco::ScopeTimer::use

Definition at line 35 of file timers.h.


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


aruco
Author(s): Rafael Muñoz Salinas , Bence Magyar
autogenerated on Sat Sep 23 2023 02:26:45