oa::Duration

Duration class in the OA Core public surface.

Public Methods

oa::I64 oa::Duration::microseconds()
oa::I64 oa::Duration::milliseconds()
oa::I64 oa::Duration::nanoseconds()
Duration oa::Duration::operator+(Duration inOther)
Duration & oa::Duration::operator+=(Duration inOther)
Duration oa::Duration::operator-(Duration inOther)
Duration & oa::Duration::operator-=(Duration inOther)
bool oa::Duration::operator<(Duration inOther)
bool oa::Duration::operator<=(Duration inOther)
bool oa::Duration::operator==(Duration inOther)
bool oa::Duration::operator>(Duration inOther)
bool oa::Duration::operator>=(Duration inOther)
oa::F64 oa::Duration::toMicroseconds()
oa::F64 oa::Duration::toMilliseconds()
oa::F64 oa::Duration::toSeconds()

Static Public Methods

static Duration oa::Duration::fromDouble(oa::F64 inSeconds)
static Duration oa::Duration::fromMicroseconds(oa::I64 inMicroseconds)
static Duration oa::Duration::fromMilliseconds(oa::I64 inMilliseconds)
static Duration oa::Duration::fromNanoseconds(oa::I64 inNanoseconds)
static Duration oa::Duration::fromSeconds(oa::I64 inSeconds)

Constructor & Destructor Documentation

oa::Duration::Duration()
No public source comment is attached to this declaration.
oa::Duration::Duration( oa::I64 inNanoseconds )
No public source comment is attached to this declaration.

Parameters

inNanoseconds
oa::I64

Public Method Documentation

oa::I64 oa::Duration::microseconds()
No public source comment is attached to this declaration.

Returns

oa::I64

The declared return value.

oa::I64 oa::Duration::milliseconds()
No public source comment is attached to this declaration.

Returns

oa::I64

The declared return value.

oa::I64 oa::Duration::nanoseconds()
No public source comment is attached to this declaration.

Returns

oa::I64

The declared return value.

Duration oa::Duration::operator+( Duration inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Duration

Returns

Duration

The declared return value.

Duration & oa::Duration::operator+=( Duration inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Duration

Returns

Duration &

The declared return value.

Duration oa::Duration::operator-( Duration inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Duration

Returns

Duration

The declared return value.

Duration & oa::Duration::operator-=( Duration inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Duration

Returns

Duration &

The declared return value.

bool oa::Duration::operator<( Duration inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Duration

Returns

bool

The declared return value.

bool oa::Duration::operator<=( Duration inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Duration

Returns

bool

The declared return value.

bool oa::Duration::operator==( Duration inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Duration

Returns

bool

The declared return value.

bool oa::Duration::operator>( Duration inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Duration

Returns

bool

The declared return value.

bool oa::Duration::operator>=( Duration inOther )
No public source comment is attached to this declaration.

Parameters

inOther
Duration

Returns

bool

The declared return value.

oa::F64 oa::Duration::toMicroseconds()
No public source comment is attached to this declaration.

Returns

oa::F64

The declared return value.

oa::F64 oa::Duration::toMilliseconds()
No public source comment is attached to this declaration.

Returns

oa::F64

The declared return value.

oa::F64 oa::Duration::toSeconds()
No public source comment is attached to this declaration.

Returns

oa::F64

The declared return value.

static Duration oa::Duration::fromDouble( oa::F64 inSeconds )
No public source comment is attached to this declaration.

Parameters

inSeconds
oa::F64

Returns

Duration

The declared return value.

static Duration oa::Duration::fromMicroseconds( oa::I64 inMicroseconds )
No public source comment is attached to this declaration.

Parameters

inMicroseconds
oa::I64

Returns

Duration

The declared return value.

static Duration oa::Duration::fromMilliseconds( oa::I64 inMilliseconds )
No public source comment is attached to this declaration.

Parameters

inMilliseconds
oa::I64

Returns

Duration

The declared return value.

static Duration oa::Duration::fromNanoseconds( oa::I64 inNanoseconds )
No public source comment is attached to this declaration.

Parameters

inNanoseconds
oa::I64

Returns

Duration

The declared return value.

static Duration oa::Duration::fromSeconds( oa::I64 inSeconds )
No public source comment is attached to this declaration.

Parameters

inSeconds
oa::I64

Returns

Duration

The declared return value.