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

#include <timers.h>

Public Types

enum  SCALE { NSEC, MSEC, SEC }
 

Public Member Functions

void add (std::string name)
 
void addspaces (std::vector< std::string > &str)
 
 ScopedTimerEvents (std::string name="", bool start=true, SCALE _sc=MSEC)
 
 ~ScopedTimerEvents ()
 

Public Attributes

std::string _name
 
std::vector< std::string > names
 
SCALE sc
 
std::vector< std::chrono::high_resolution_clock::time_point > vtimes
 

Detailed Description

Definition at line 92 of file timers.h.

Member Enumeration Documentation

◆ SCALE

Enumerator
NSEC 
MSEC 
SEC 

Definition at line 94 of file timers.h.

Constructor & Destructor Documentation

◆ ScopedTimerEvents()

aruco::ScopedTimerEvents::ScopedTimerEvents ( std::string  name = "",
bool  start = true,
SCALE  _sc = MSEC 
)
inline

Definition at line 105 of file timers.h.

◆ ~ScopedTimerEvents()

aruco::ScopedTimerEvents::~ScopedTimerEvents ( )
inline

Definition at line 141 of file timers.h.

Member Function Documentation

◆ add()

void aruco::ScopedTimerEvents::add ( std::string  name)
inline

Definition at line 119 of file timers.h.

◆ addspaces()

void aruco::ScopedTimerEvents::addspaces ( std::vector< std::string > &  str)
inline

Definition at line 128 of file timers.h.

Member Data Documentation

◆ _name

std::string aruco::ScopedTimerEvents::_name

Definition at line 103 of file timers.h.

◆ names

std::vector<std::string> aruco::ScopedTimerEvents::names

Definition at line 102 of file timers.h.

◆ sc

SCALE aruco::ScopedTimerEvents::sc

Definition at line 100 of file timers.h.

◆ vtimes

std::vector<std::chrono::high_resolution_clock::time_point> aruco::ScopedTimerEvents::vtimes

Definition at line 101 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