Version

    Other Documentation

menu_open
Wwise SDK 2022.1.11

#include <AkSmartPtr.h>

Public Member Functions

AkForceInline CAkSmartPtr ()
 Smart pointer constructor. More...
 
AkForceInline CAkSmartPtr (T *in_pT)
 Smart pointer constructor. More...
 
AkForceInline CAkSmartPtr (const CAkSmartPtr< T > &in_rPtr)
 Smart pointer copy constructor. More...
 
AkForceInline CAkSmartPtr (CAkSmartPtr< T > &&in_rPtr)
 Smart pointer move constructor. More...
 
 ~CAkSmartPtr ()
 Smart pointer destructor. More...
 
AkForceInline void Release ()
 Release. More...
 
AkForceInline void Attach (T *in_pObj)
 Assign with no Addref. More...
 
AkForceInline T * Detach ()
 Give the pointer without releasing it. More...
 
const CAkSmartPtr< T > & operator= (const CAkSmartPtr< T > &in_pObj)
 Copy Assignation operator. More...
 
CAkSmartPtr< T > & operator= (CAkSmartPtr< T > &&in_pObj)
 Move Assignation operator. More...
 
const CAkSmartPtr< T > & operator= (T *in_pObj)
 Assignation operator. More...
 
T & operator* ()
 Operator *. More...
 
T * operator-> () const
 Operator -> More...
 
 operator T* () const
 Operator. More...
 
T ** operator& ()
 Operators to pass to functions like QueryInterface and other functions returning an addref'd pointer. More...
 
const T & operator* () const
 Operator *. More...
 
T * Cast ()
 Cast. More...
 
const T * Cast () const
 Cast. More...
 

Protected Member Functions

void _Assign (T *in_pObj, bool in_bAddRef=true)
 internal use only More...
 
bool _Compare (const T *in_pObj) const
 internal use only More...
 

Protected Attributes

T * m_pT
 internal use only More...
 

Detailed Description

template<class T>
class CAkSmartPtr< T >

Definition at line 37 of file AkSmartPtr.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise