Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
crl::multisense::details::utility::TimeStamp Class Reference

#include <TimeStamp.hh>

Public Member Functions

uint32_t getMicroSeconds () const
 
uint32_t getSeconds () const
 
void normalize ()
 
 operator double () const
 
TimeStampoperator+= (TimeStamp const &other)
 
TimeStampoperator-= (TimeStamp const &other)
 
TimeStampoperator= (double timeStamp)
 
void set (struct timeval &value)
 
 TimeStamp ()
 
 TimeStamp (struct timeval &value)
 
 TimeStamp (double value)
 

Static Public Member Functions

static TimeStamp getCurrentTime ()
 
static double getTimeSynchronizationOffset ()
 
static void setTimeAtPps (TimeStamp &local, TimeStamp &remote)
 
static void setTimeAtPps (struct timeval &local, struct timeval &remote)
 

Private Attributes

struct timeval time
 

Static Private Attributes

static double timeSynchronizationOffset = 0.0
 

Detailed Description

Definition at line 67 of file TimeStamp.hh.

Constructor & Destructor Documentation

crl::multisense::details::utility::TimeStamp::TimeStamp ( )

Definition at line 88 of file TimeStamp.cc.

crl::multisense::details::utility::TimeStamp::TimeStamp ( struct timeval &  value)

Definition at line 97 of file TimeStamp.cc.

crl::multisense::details::utility::TimeStamp::TimeStamp ( double  value)

Definition at line 105 of file TimeStamp.cc.

Member Function Documentation

TimeStamp crl::multisense::details::utility::TimeStamp::getCurrentTime ( )
static

Definition at line 178 of file TimeStamp.cc.

uint32_t crl::multisense::details::utility::TimeStamp::getMicroSeconds ( ) const

Definition at line 241 of file TimeStamp.cc.

uint32_t crl::multisense::details::utility::TimeStamp::getSeconds ( ) const

Definition at line 233 of file TimeStamp.cc.

double crl::multisense::details::utility::TimeStamp::getTimeSynchronizationOffset ( )
static

Definition at line 162 of file TimeStamp.cc.

void crl::multisense::details::utility::TimeStamp::normalize ( )

Definition at line 289 of file TimeStamp.cc.

crl::multisense::details::utility::TimeStamp::operator double ( ) const

Definition at line 250 of file TimeStamp.cc.

TimeStamp & crl::multisense::details::utility::TimeStamp::operator+= ( TimeStamp const &  other)

Definition at line 271 of file TimeStamp.cc.

TimeStamp & crl::multisense::details::utility::TimeStamp::operator-= ( TimeStamp const &  other)

Definition at line 280 of file TimeStamp.cc.

TimeStamp & crl::multisense::details::utility::TimeStamp::operator= ( double  timeStamp)

Definition at line 258 of file TimeStamp.cc.

void crl::multisense::details::utility::TimeStamp::set ( struct timeval &  value)

Definition at line 114 of file TimeStamp.cc.

void crl::multisense::details::utility::TimeStamp::setTimeAtPps ( TimeStamp local,
TimeStamp remote 
)
static

Definition at line 127 of file TimeStamp.cc.

void crl::multisense::details::utility::TimeStamp::setTimeAtPps ( struct timeval &  local,
struct timeval &  remote 
)
static

Definition at line 139 of file TimeStamp.cc.

Member Data Documentation

struct timeval crl::multisense::details::utility::TimeStamp::time
private

Definition at line 75 of file TimeStamp.hh.

double crl::multisense::details::utility::TimeStamp::timeSynchronizationOffset = 0.0
staticprivate

Definition at line 83 of file TimeStamp.hh.


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


multisense_lib
Author(s):
autogenerated on Sat Apr 6 2019 02:16:46