oa::Condition

Condition class in the OA Core public surface.

Public Methods

void oa::Condition::notifyAll()
void oa::Condition::notifyOne()
void oa::Condition::wait(UniqueLock<Mutex> & inLock)
void oa::Condition::wait(UniqueLock<Mutex> & inLock, Predicate inPredicate)
bool oa::Condition::waitFor(UniqueLock<Mutex> & inLock, oa::Duration inDuration)
bool oa::Condition::waitFor(UniqueLock<Mutex> & inLock, oa::Duration inDuration, Predicate inPredicate)

Constructor & Destructor Documentation

oa::Condition::Condition()
No public source comment is attached to this declaration.
void oa::Condition::~Condition()
No public source comment is attached to this declaration.

Public Method Documentation

void oa::Condition::notifyAll()
No public source comment is attached to this declaration.

Returns

void

The declared return value.

void oa::Condition::notifyOne()
No public source comment is attached to this declaration.

Returns

void

The declared return value.

void oa::Condition::wait( UniqueLock<Mutex> & inLock )
No public source comment is attached to this declaration.

Parameters

inLock
UniqueLock<Mutex> &

Returns

void

The declared return value.

void oa::Condition::wait( UniqueLock<Mutex> & inLock, Predicate inPredicate )
No public source comment is attached to this declaration.

Parameters

inLock
UniqueLock<Mutex> &

inPredicate
Predicate

Returns

void

The declared return value.

bool oa::Condition::waitFor( UniqueLock<Mutex> & inLock, oa::Duration inDuration )
No public source comment is attached to this declaration.

Parameters

inLock
UniqueLock<Mutex> &

inDuration
oa::Duration

Returns

bool

The declared return value.

bool oa::Condition::waitFor( UniqueLock<Mutex> & inLock, oa::Duration inDuration, Predicate inPredicate )
No public source comment is attached to this declaration.

Parameters

inLock
UniqueLock<Mutex> &

inDuration
oa::Duration

inPredicate
Predicate

Returns

bool

The declared return value.