HDK
|
#include <weakBase.h>
Public Member Functions | |
TfWeakBase () | |
TfWeakBase (const TfWeakBase &) | |
const TfWeakBase & | __GetTfWeakBase__ () const |
const TfWeakBase & | operator= (const TfWeakBase &) |
void | EnableNotification2 () const |
TF_API void const * | GetUniqueIdentifier () const |
Protected Member Functions | |
~TfWeakBase () | |
TfRefPtr< Tf_Remnant > | _Register () const |
template<class T > | |
TfRefPtr< Tf_Remnant > | _Register (T *tempRmnt) const |
bool | _HasRemnant () const |
Friends | |
class | Tf_WeakBaseAccess |
Enable a concrete base class for use with TfWeakPtr
.
You should be familiar with the TfWeakPtr
type before reading further.
A class is enabled for use with the TfWeakPtr
type by publicly deriving from TfWeakBase
. (Note that deriving from TfWeakBase
adds data to a structure, so the result is no longer a "pure" interface class.)
For example,
Given the above inheritance, a Simple*
can now be used to initialize an object of type TfWeakPtr<Simple>
.
Definition at line 141 of file weakBase.h.
|
inline |
Definition at line 143 of file weakBase.h.
|
inline |
Definition at line 145 of file weakBase.h.
|
inlineprotected |
Definition at line 174 of file weakBase.h.
|
inline |
Definition at line 153 of file weakBase.h.
|
inlineprotected |
Definition at line 195 of file weakBase.h.
|
inlineprotected |
Definition at line 186 of file weakBase.h.
|
inlineprotected |
Definition at line 191 of file weakBase.h.
void TfWeakBase::EnableNotification2 | ( | ) | const |
|
inline |
Definition at line 157 of file weakBase.h.
|
friend |
Definition at line 207 of file weakBase.h.