Public Member Functions | Private Attributes | List of all members
ROSEE::Utils::Timer< Clock > Class Template Reference

#include <Utils.h>

Public Member Functions

template<typename Rep = typename Clock::duration::rep, typename Units = typename Clock::duration>
Rep elapsed_time () const
 
void reset ()
 
 Timer ()
 

Private Attributes

Clock::time_point start_point
 

Detailed Description

template<typename Clock = std::chrono::high_resolution_clock>
class ROSEE::Utils::Timer< Clock >

Definition at line 274 of file Utils.h.

Constructor & Destructor Documentation

◆ Timer()

template<typename Clock = std::chrono::high_resolution_clock>
ROSEE::Utils::Timer< Clock >::Timer ( )
inline

Definition at line 279 of file Utils.h.

Member Function Documentation

◆ elapsed_time()

template<typename Clock = std::chrono::high_resolution_clock>
template<typename Rep = typename Clock::duration::rep, typename Units = typename Clock::duration>
Rep ROSEE::Utils::Timer< Clock >::elapsed_time ( ) const
inline

Definition at line 284 of file Utils.h.

◆ reset()

template<typename Clock = std::chrono::high_resolution_clock>
void ROSEE::Utils::Timer< Clock >::reset ( )
inline

Definition at line 281 of file Utils.h.

Member Data Documentation

◆ start_point

template<typename Clock = std::chrono::high_resolution_clock>
Clock::time_point ROSEE::Utils::Timer< Clock >::start_point
private

Definition at line 276 of file Utils.h.


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


end-effector
Author(s): Luca Muratore , Davide Torielli , Liana Bertoni
autogenerated on Tue Apr 5 2022 02:57:53