HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Tf_Remnant Class Reference

#include <weakBase.h>

+ Inheritance diagram for Tf_Remnant:

Public Member Functions

virtual TF_API ~Tf_Remnant ()
 
void _Forget ()
 
bool _IsAlive () const
 
virtual TF_API void const * _GetUniqueIdentifier () const
 
virtual TF_API void EnableNotification () const
 
- Public Member Functions inherited from TfSimpleRefBase
virtual TF_API ~TfSimpleRefBase ()
 
- Public Member Functions inherited from TfRefBase
 TfRefBase ()
 
 TfRefBase (TfRefBase const &)
 
TfRefBaseoperator= (TfRefBase const &)
 
size_t GetCurrentCount () const
 Return the current reference count of this object. More...
 
bool IsUnique () const
 Return true if only one TfRefPtr points to this object. More...
 
void SetShouldInvokeUniqueChangedListener (bool shouldCall)
 

Static Public Member Functions

static TfRefPtr< Tf_RemnantRegister (std::atomic< Tf_Remnant * > &remnantPtr)
 
template<class T >
static TfRefPtr< Tf_RemnantRegister (std::atomic< Tf_Remnant * > &remnantPtr, T *candidate)
 
- Static Public Member Functions inherited from TfRefBase
static TF_API void SetUniqueChangedListener (UniqueChangedListener listener)
 

Protected Member Functions

 Tf_Remnant ()
 
- Protected Member Functions inherited from TfRefBase
virtual TF_API ~TfRefBase ()
 

Friends

class TfWeakBase
 

Additional Inherited Members

- Public Types inherited from TfRefBase
typedef void(* UniqueChangedFuncPtr )(TfRefBase const *, bool)
 

Detailed Description

Definition at line 44 of file weakBase.h.

Constructor & Destructor Documentation

virtual TF_API Tf_Remnant::~Tf_Remnant ( )
virtual
Tf_Remnant::Tf_Remnant ( )
inlineprotected

Definition at line 105 of file weakBase.h.

Member Function Documentation

void Tf_Remnant::_Forget ( )
inline

Definition at line 50 of file weakBase.h.

virtual TF_API void const* Tf_Remnant::_GetUniqueIdentifier ( ) const
virtual
bool Tf_Remnant::_IsAlive ( ) const
inline

Definition at line 58 of file weakBase.h.

virtual TF_API void Tf_Remnant::EnableNotification ( ) const
virtual
static TfRefPtr<Tf_Remnant> Tf_Remnant::Register ( std::atomic< Tf_Remnant * > &  remnantPtr)
inlinestatic

Definition at line 69 of file weakBase.h.

template<class T >
static TfRefPtr<Tf_Remnant> Tf_Remnant::Register ( std::atomic< Tf_Remnant * > &  remnantPtr,
T candidate 
)
inlinestatic

Definition at line 83 of file weakBase.h.

Friends And Related Function Documentation

friend class TfWeakBase
friend

Definition at line 103 of file weakBase.h.


The documentation for this class was generated from the following file: