nw::ut::SharedPtr Class

Syntax

template <typename TObj, typename TLockObject>
class SharedPtr

Template Arguments

Name Description
TObj
TLockObject

Description

Shared pointer class with reference count.

Inheriting and using this class is not supported.

Member Functions

SharedPtr Constructor.
~SharedPtr Destructor.
operator= This is a substitution operator.
Reset Resets the reference destination of the shared pointer.
Get Gets the object being referenced.
operator * Gets the object being referenced.
operator-> Gets the object being referenced.
operator bool Gets whether the object being referenced is NULL.
RefCount This function is used for debugging. It gets the access count value.

CONFIDENTIAL