Argus Camera Sample
Argus Camera Sample
|
A time value. More...
#include <Util.h>
Public Types | |
typedef uint64_t | SecType |
Types used for values with various units. | |
typedef uint64_t | MSecType |
typedef uint64_t | USecType |
typedef uint64_t | NSecType |
typedef float | CyclesPerSecType |
Public Member Functions | |
TimeValue () | |
void | setFromSec (SecType sec) |
void | setFromMSec (MSecType mSec) |
void | setFromUSec (USecType uSec) |
void | setFromNSec (NSecType nSec) |
SecType | toSec () const |
MSecType | toMSec () const |
USecType | toUSec () const |
NSecType | toNSec () const |
CyclesPerSecType | toCyclesPerSec () const |
bool | operator== (const TimeValue &rhs) const |
bool | operator!= (const TimeValue &rhs) const |
bool | operator< (const TimeValue &rhs) const |
bool | operator>= (const TimeValue &rhs) const |
bool | operator<= (const TimeValue &rhs) const |
bool | operator> (const TimeValue &rhs) const |
TimeValue | operator+ (const TimeValue &rhs) const |
TimeValue | operator- (const TimeValue &rhs) const |
Static Public Member Functions | |
static TimeValue | infinite () |
static TimeValue | fromSec (float sec) |
static TimeValue | fromSec (SecType sec) |
static TimeValue | fromMSec (MSecType mSec) |
static TimeValue | fromUSec (USecType uSec) |
static TimeValue | fromNSec (NSecType nSec) |
static TimeValue | fromCyclesPerSec (CyclesPerSecType cyclesPerSec) |
Private Member Functions | |
TimeValue (NSecType value) |
Private Attributes | |
NSecType | m_nSec |
typedef float ArgusSamples::TimeValue::CyclesPerSecType |
typedef uint64_t ArgusSamples::TimeValue::MSecType |
typedef uint64_t ArgusSamples::TimeValue::NSecType |
typedef uint64_t ArgusSamples::TimeValue::SecType |
typedef uint64_t ArgusSamples::TimeValue::USecType |
|
inlineprivate |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |