#include <Time.hpp>

Public Member Functions

 Time (int64_t _valNano)
 
 Time (int64_t _valSec, int64_t _valNano)
 
 Time (const std::chrono::system_clock::time_point &_val)
 
const std::chrono::system_clock::time_point & get () const
 
int64_t count ()
 
const Timeoperator= (const echrono::Time &_obj)
 
bool operator== (const echrono::Time &_obj) const
 
bool operator!= (const echrono::Time &_obj) const
 
bool operator< (const echrono::Time &_obj) const
 
bool operator<= (const echrono::Time &_obj) const
 
bool operator> (const echrono::Time &_obj) const
 
bool operator>= (const echrono::Time &_obj) const
 
const Timeoperator+= (const echrono::Duration &_obj)
 
Time operator+ (const echrono::Duration &_obj) const
 
const Timeoperator-= (const echrono::Duration &_obj)
 
Time operator- (const echrono::Duration &_obj) const
 
Duration operator- (const echrono::Time &_obj) const
 
void reset ()
 

Static Public Member Functions

static Time now ()
 

Detailed Description

Represent the earth clock (if computer is synchronized)

Member Function Documentation

§ count()

int64_t echrono::Time::count ( )

return the number od us since epoch (can be <0)

Returns
a number un µs since epoch

§ now()

static Time echrono::Time::now ( )
static

get the current time


The documentation for this class was generated from the following file:
  • framework/atria-soft/echrono/echrono/Time.hpp