Menu

famouso::mw::afp::shared::Time Class Reference

Represents a time. More...

#include <Time.h>

Public Member Functions

Timeadd_sec (unsigned int s)
Timeadd_usec (unsigned int us)
uint64_t get_usec () const
uint64_t get_sec () const
bool operator< (const Time &t2) const

Static Public Member Functions

static void get_current_time (Time &time)
static Time current ()

Detailed Description

Represents a time.


Member Function Documentation

Time& famouso::mw::afp::shared::Time::add_sec ( unsigned int  s  )  [inline]
Time& famouso::mw::afp::shared::Time::add_usec ( unsigned int  us  )  [inline]
static Time famouso::mw::afp::shared::Time::current (  )  [inline, static]

References get_current_time().

static void famouso::mw::afp::shared::Time::get_current_time ( Time time  )  [inline, static]

Referenced by current().

uint64_t famouso::mw::afp::shared::Time::get_sec (  )  const [inline]
uint64_t famouso::mw::afp::shared::Time::get_usec (  )  const [inline]
bool famouso::mw::afp::shared::Time::operator< ( const Time t2  )  const [inline]

The documentation for this class was generated from the following file:
  • include/mw/afp/shared/Time.h