Diligent Engine API Reference
Main Page
Namespaces
Classes
Class List
Class Index
Class Hierarchy
Class Members
Diligent
RefCntWeakPtr
Public Member Functions
|
List of all members
Diligent::RefCntWeakPtr< T > Class Template Reference
Implementation of weak pointers.
More...
Public Member Functions
bool
IsValid
()
RefCntAutoPtr
< T >
Lock
()
Obtains a strong reference to the object.
Detailed Description
template<typename T>
class Diligent::RefCntWeakPtr< T >
Implementation of weak pointers.
Member Function Documentation
template<typename T>
bool
Diligent::RefCntWeakPtr
< T >::IsValid
(
)
inline
Note
This method may not be reliable in a multithreaded environment. However, when false is returned, the strong pointer created from this weak pointer will reliably be empty.