Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2023.1.7.8574 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Go to the documentation of this file.
32 #ifndef _AK_SMARTPTR_H
33 #define _AK_SMARTPTR_H
110 _Assign( in_pObj.m_pT,
false );
129 operator</span> T*() const { return m_pT; }
146 void _Assign( T* in_pObj,
bool in_bAddRef =
true )
148 if (in_pObj !=
NULL && in_bAddRef)
161 return m_pT == in_pObj;
168 #endif // _AK_SMARTPTR_H
bool _Compare(const T *in_pObj) const
internal use only
const T * Cast() const
Cast.
const CAkSmartPtr< T > & operator=(T *in_pObj)
Assignation operator.
CAkSmartPtr< T > & operator=(CAkSmartPtr< T > &&in_pObj)
Move Assignation operator.
AkForceInline CAkSmartPtr()
Smart pointer constructor.
void _Assign(T *in_pObj, bool in_bAddRef=true)
internal use only
AkForceInline T * Detach()
Give the pointer without releasing it.
~CAkSmartPtr()
Smart pointer destructor.
AkForceInline CAkSmartPtr(const CAkSmartPtr< T > &in_rPtr)
Smart pointer copy constructor.
AkForceInline CAkSmartPtr(CAkSmartPtr< T > &&in_rPtr)
Smart pointer move constructor.
T * operator->() const
Operator ->
AkForceInline CAkSmartPtr(T *in_pT)
Smart pointer constructor.
AkForceInline void Attach(T *in_pObj)
Assign with no Addref.
T ** operator&()
Operators to pass to functions like QueryInterface and other functions returning an addref'd pointer.
AkForceInline void Release()
Release.
T * m_pT
internal use only
const T & operator*() const
Operator *.
T & operator*()
Operator *.
const CAkSmartPtr< T > & operator=(const CAkSmartPtr< T > &in_pObj)
Copy Assignation operator.
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