Public Member Functions | Public Attributes
rtc::TimeBase< T, D > Class Template Reference

#include <rtcTime.h>

List of all members.

Public Member Functions

T & fromNSec (uint64_t t)
T & fromSec (double t)
bool is_zero () const
bool isZero () const
bool operator!= (const T &rhs) const
operator+ (const D &rhs) const
T & operator+= (const D &rhs)
operator- (const T &rhs) const
operator- (const D &rhs) const
T & operator-= (const D &rhs)
bool operator< (const T &rhs) const
bool operator<= (const T &rhs) const
bool operator== (const T &rhs) const
bool operator> (const T &rhs) const
bool operator>= (const T &rhs) const
 TimeBase ()
 TimeBase (uint32_t _sec, uint32_t _nsec)
 TimeBase (double t)
uint64_t toNSec () const
double toSec () const
 ~TimeBase ()

Public Attributes

uint32_t nsec
uint32_t sec

Detailed Description

template<class T, class D>
class rtc::TimeBase< T, D >

Definition at line 63 of file rtcTime.h.


Constructor & Destructor Documentation

template<class T, class D>
rtc::TimeBase< T, D >::TimeBase ( ) [inline]

Definition at line 68 of file rtcTime.h.

template<class T, class D>
rtc::TimeBase< T, D >::TimeBase ( uint32_t  _sec,
uint32_t  _nsec 
) [inline]

Definition at line 69 of file rtcTime.h.

template<class T, class D>
rtc::TimeBase< T, D >::TimeBase ( double  t) [inline, explicit]

Definition at line 73 of file rtcTime.h.

template<class T, class D>
rtc::TimeBase< T, D >::~TimeBase ( ) [inline]

Definition at line 74 of file rtcTime.h.


Member Function Documentation

template<class T , class D >
T & rtc::TimeBase< T, D >::fromNSec ( uint64_t  t)

Definition at line 147 of file rtcTime.h.

template<class T, class D>
T& rtc::TimeBase< T, D >::fromSec ( double  t) [inline]

Definition at line 88 of file rtcTime.h.

template<class T, class D>
bool rtc::TimeBase< T, D >::is_zero ( ) const [inline]

Definition at line 94 of file rtcTime.h.

template<class T, class D>
bool rtc::TimeBase< T, D >::isZero ( ) const [inline]

Definition at line 93 of file rtcTime.h.

template<class T, class D>
bool rtc::TimeBase< T, D >::operator!= ( const T &  rhs) const [inline]

Definition at line 81 of file rtcTime.h.

template<class T , class D>
T rtc::TimeBase< T, D >::operator+ ( const D &  rhs) const

Definition at line 171 of file rtcTime.h.

template<class T , class D>
T & rtc::TimeBase< T, D >::operator+= ( const D &  rhs)

Definition at line 184 of file rtcTime.h.

template<class T, class D >
D rtc::TimeBase< T, D >::operator- ( const T &  rhs) const

Definition at line 158 of file rtcTime.h.

template<class T, class D>
T rtc::TimeBase< T, D >::operator- ( const D &  rhs) const

Definition at line 165 of file rtcTime.h.

template<class T , class D>
T & rtc::TimeBase< T, D >::operator-= ( const D &  rhs)

Definition at line 191 of file rtcTime.h.

template<class T, class D >
bool rtc::TimeBase< T, D >::operator< ( const T &  rhs) const

Definition at line 204 of file rtcTime.h.

template<class T, class D >
bool rtc::TimeBase< T, D >::operator<= ( const T &  rhs) const

Definition at line 224 of file rtcTime.h.

template<class T, class D >
bool rtc::TimeBase< T, D >::operator== ( const T &  rhs) const

Definition at line 198 of file rtcTime.h.

template<class T, class D >
bool rtc::TimeBase< T, D >::operator> ( const T &  rhs) const

Definition at line 214 of file rtcTime.h.

template<class T, class D >
bool rtc::TimeBase< T, D >::operator>= ( const T &  rhs) const

Definition at line 234 of file rtcTime.h.

template<class T, class D>
uint64_t rtc::TimeBase< T, D >::toNSec ( ) const [inline]

Definition at line 90 of file rtcTime.h.

template<class T, class D>
double rtc::TimeBase< T, D >::toSec ( ) const [inline]

Definition at line 87 of file rtcTime.h.


Member Data Documentation

template<class T, class D>
uint32_t rtc::TimeBase< T, D >::nsec

Definition at line 66 of file rtcTime.h.

template<class T, class D>
uint32_t rtc::TimeBase< T, D >::sec

Definition at line 66 of file rtcTime.h.


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


rtc
Author(s): Benjamin Pitzer
autogenerated on Thu Jan 2 2014 11:04:54