oa::WeakPtr

WeakPtr class in the OA Core public surface.

Public Methods

bool oa::WeakPtr::expired()
SharedPtr<T> oa::WeakPtr::lock()
WeakPtr<T> & oa::WeakPtr::operator=(WeakPtr<T> && inO)
WeakPtr<T> & oa::WeakPtr::operator=(const WeakPtr<T> & inO)
void oa::WeakPtr::reset()
void oa::WeakPtr::swap(WeakPtr<T> & inO)
long oa::WeakPtr::useCount()
void oa::WeakPtr::WeakPtr<T>()
void oa::WeakPtr::WeakPtr<T>(WeakPtr<T> && inO)
void oa::WeakPtr::WeakPtr<T>(const SharedPtr<T> & inS)
void oa::WeakPtr::WeakPtr<T>(const WeakPtr<T> & inO)
SharedPtr<void> oa::WeakPtr::lock()
WeakPtr<void> & oa::WeakPtr::operator=(WeakPtr<void> && inO)
WeakPtr<void> & oa::WeakPtr::operator=(const WeakPtr<void> & inO)
void oa::WeakPtr::swap(WeakPtr<void> & inO)

Constructor & Destructor Documentation

void oa::WeakPtr::~WeakPtr<T>()
No public source comment is attached to this declaration.

Returns

void

The declared return value.

oa::WeakPtr::WeakPtr()
No public source comment is attached to this declaration.
oa::WeakPtr::WeakPtr( WeakPtr<void> && inO )
No public source comment is attached to this declaration.

Parameters

inO
WeakPtr<void> &&

oa::WeakPtr::WeakPtr( const SharedPtr<void> & inS )
No public source comment is attached to this declaration.

Parameters

inS
const SharedPtr<void> &

oa::WeakPtr::WeakPtr( const WeakPtr<void> & inO )
No public source comment is attached to this declaration.

Parameters

inO
const WeakPtr<void> &

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

Public Method Documentation

bool oa::WeakPtr::expired()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

SharedPtr<T> oa::WeakPtr::lock()
No public source comment is attached to this declaration.

Returns

SharedPtr<T>

The declared return value.

WeakPtr<T> & oa::WeakPtr::operator=( WeakPtr<T> && inO )
No public source comment is attached to this declaration.

Parameters

inO
WeakPtr<T> &&

Returns

WeakPtr<T> &

The declared return value.

WeakPtr<T> & oa::WeakPtr::operator=( const WeakPtr<T> & inO )
No public source comment is attached to this declaration.

Parameters

inO
const WeakPtr<T> &

Returns

WeakPtr<T> &

The declared return value.

void oa::WeakPtr::reset()
No public source comment is attached to this declaration.

Returns

void

The declared return value.

void oa::WeakPtr::swap( WeakPtr<T> & inO )
No public source comment is attached to this declaration.

Parameters

inO
WeakPtr<T> &

Returns

void

The declared return value.

long oa::WeakPtr::useCount()
No public source comment is attached to this declaration.

Returns

long

The declared return value.

void oa::WeakPtr::WeakPtr<T>()
No public source comment is attached to this declaration.

Returns

void

The declared return value.

void oa::WeakPtr::WeakPtr<T>( WeakPtr<T> && inO )
No public source comment is attached to this declaration.

Parameters

inO
WeakPtr<T> &&

Returns

void

The declared return value.

void oa::WeakPtr::WeakPtr<T>( const SharedPtr<T> & inS )
No public source comment is attached to this declaration.

Parameters

inS
const SharedPtr<T> &

Returns

void

The declared return value.

void oa::WeakPtr::WeakPtr<T>( const WeakPtr<T> & inO )
No public source comment is attached to this declaration.

Parameters

inO
const WeakPtr<T> &

Returns

void

The declared return value.

SharedPtr<void> oa::WeakPtr::lock()
No public source comment is attached to this declaration.

Returns

SharedPtr<void>

The declared return value.

WeakPtr<void> & oa::WeakPtr::operator=( WeakPtr<void> && inO )
No public source comment is attached to this declaration.

Parameters

inO
WeakPtr<void> &&

Returns

WeakPtr<void> &

The declared return value.

WeakPtr<void> & oa::WeakPtr::operator=( const WeakPtr<void> & inO )
No public source comment is attached to this declaration.

Parameters

inO
const WeakPtr<void> &

Returns

WeakPtr<void> &

The declared return value.

void oa::WeakPtr::swap( WeakPtr<void> & inO )
No public source comment is attached to this declaration.

Parameters

inO
WeakPtr<void> &

Returns

void

The declared return value.