Public Member Functions | Public Attributes
rtc::DurationBase< T > Class Template Reference

#include <rtcDuration.h>

List of all members.

Public Member Functions

 DurationBase ()
 DurationBase (int32_t _sec, int32_t _nsec)
 DurationBase (double t)
T & fromNSec (int64_t t)
T & fromSec (double t)
bool isZero ()
bool operator!= (const T &rhs) const
operator* (double scale) const
T & operator*= (double scale)
operator+ (const T &rhs) const
T & operator+= (const T &rhs)
operator- (const T &rhs) const
operator- () const
T & operator-= (const T &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
int64_t toNSec () const
double toSec () const
 ~DurationBase ()

Public Attributes

int32_t nsec
int32_t sec

Detailed Description

template<class T>
class rtc::DurationBase< T >

Definition at line 51 of file rtcDuration.h.


Constructor & Destructor Documentation

template<class T>
rtc::DurationBase< T >::DurationBase ( ) [inline]

Definition at line 55 of file rtcDuration.h.

template<class T >
rtc::DurationBase< T >::DurationBase ( int32_t  _sec,
int32_t  _nsec 
)

Definition at line 127 of file rtcDuration.h.

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

Definition at line 57 of file rtcDuration.h.

template<class T>
rtc::DurationBase< T >::~DurationBase ( ) [inline]

Definition at line 58 of file rtcDuration.h.


Member Function Documentation

template<class T >
T & rtc::DurationBase< T >::fromNSec ( int64_t  t)

Definition at line 151 of file rtcDuration.h.

template<class T >
T & rtc::DurationBase< T >::fromSec ( double  t)

Definition at line 134 of file rtcDuration.h.

template<class T >
bool rtc::DurationBase< T >::isZero ( )

Definition at line 253 of file rtcDuration.h.

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

Definition at line 67 of file rtcDuration.h.

template<class T >
T rtc::DurationBase< T >::operator* ( double  scale) const

Definition at line 168 of file rtcDuration.h.

template<class T >
T & rtc::DurationBase< T >::operator*= ( double  scale)

Definition at line 200 of file rtcDuration.h.

template<class T>
T rtc::DurationBase< T >::operator+ ( const T &  rhs) const

Definition at line 162 of file rtcDuration.h.

template<class T>
T & rtc::DurationBase< T >::operator+= ( const T &  rhs)

Definition at line 186 of file rtcDuration.h.

template<class T>
T rtc::DurationBase< T >::operator- ( const T &  rhs) const

Definition at line 174 of file rtcDuration.h.

template<class T>
T rtc::DurationBase< T >::operator- ( ) const

Definition at line 180 of file rtcDuration.h.

template<class T>
T & rtc::DurationBase< T >::operator-= ( const T &  rhs)

Definition at line 193 of file rtcDuration.h.

template<class T>
bool rtc::DurationBase< T >::operator< ( const T &  rhs) const

Definition at line 207 of file rtcDuration.h.

template<class T>
bool rtc::DurationBase< T >::operator<= ( const T &  rhs) const

Definition at line 227 of file rtcDuration.h.

template<class T>
bool rtc::DurationBase< T >::operator== ( const T &  rhs) const

Definition at line 247 of file rtcDuration.h.

template<class T>
bool rtc::DurationBase< T >::operator> ( const T &  rhs) const

Definition at line 217 of file rtcDuration.h.

template<class T>
bool rtc::DurationBase< T >::operator>= ( const T &  rhs) const

Definition at line 237 of file rtcDuration.h.

template<class T>
int64_t rtc::DurationBase< T >::toNSec ( ) const [inline]

Definition at line 73 of file rtcDuration.h.

template<class T>
double rtc::DurationBase< T >::toSec ( ) const [inline]

Definition at line 72 of file rtcDuration.h.


Member Data Documentation

template<class T>
int32_t rtc::DurationBase< T >::nsec

Definition at line 54 of file rtcDuration.h.

template<class T>
int32_t rtc::DurationBase< T >::sec

Definition at line 54 of file rtcDuration.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