Version

menu_open
Wwise SDK 2023.1.2

#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.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise