class BinaryNinja::RefCountObject |
Public Member Functions | |
RefCountObject () | |
virtual | ~RefCountObject () |
RefCountObject * | GetObject () |
void | AddRef () |
void | Release () |
Static Public Member Functions | |
static RefCountObject * | GetObject (RefCountObject *obj) |
Public Attributes | |
std::atomic< int > | m_refs |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
std::atomic<int> BinaryNinja::RefCountObject::m_refs |
class BinaryNinja::CoreRefCountObject |
Public Member Functions | |
CoreRefCountObject () | |
virtual | ~CoreRefCountObject () |
T * | GetObject () const |
void | AddRef () |
void | Release () |
void | AddRefForRegistration () |
void | ReleaseForRegistration () |
void | AddRefForCallback () |
void | ReleaseForCallback () |
Static Public Member Functions | |
static T * | GetObject (CoreRefCountObject *obj) |
static T * | GetObject (const CoreRefCountObject *obj) |
Public Attributes | |
std::atomic< int > | m_refs |
bool | m_registeredRef = false |
T * | m_object |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::atomic<int> BinaryNinja::CoreRefCountObject< T, AddObjectReference, FreeObjectReference >::m_refs |
bool BinaryNinja::CoreRefCountObject< T, AddObjectReference, FreeObjectReference >::m_registeredRef = false |
T* BinaryNinja::CoreRefCountObject< T, AddObjectReference, FreeObjectReference >::m_object |
class BinaryNinja::StaticCoreRefCountObject |
Public Member Functions | |
StaticCoreRefCountObject () | |
virtual | ~StaticCoreRefCountObject () |
T * | GetObject () const |
void | AddRef () |
void | Release () |
void | AddRefForRegistration () |
void | AddRefForCallback () |
void | ReleaseForCallback () |
Static Public Member Functions | |
static T * | GetObject (StaticCoreRefCountObject *obj) |
Public Attributes | |
std::atomic< int > | m_refs |
T * | m_object |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::atomic<int> BinaryNinja::StaticCoreRefCountObject< T >::m_refs |
T* BinaryNinja::StaticCoreRefCountObject< T >::m_object |
class BinaryNinja::Ref |
Public Member Functions | |
Ref () | |
Ref (T *obj) | |
Ref (const Ref< T > &obj) | |
Ref (Ref< T > &&other) | |
~Ref () | |
Ref< T > & | operator= (const Ref< T > &obj) |
Ref< T > & | operator= (Ref< T > &&other) |
Ref< T > & | operator= (T *obj) |
operator T* () const | |
T * | operator-> () const |
T & | operator* () const |
bool | operator! () const |
bool | operator== (const T *obj) const |
bool | operator== (const Ref< T > &obj) const |
bool | operator!= (const T *obj) const |
bool | operator!= (const Ref< T > &obj) const |
bool | operator< (const T *obj) const |
bool | operator< (const Ref< T > &obj) const |
T * | GetPtr () const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
class BinaryNinja::CallbackRef |
Public Member Functions | |
CallbackRef (void *obj) | |
~CallbackRef () | |
operator T* () const | |
T * | operator-> () const |
T & | operator* () const |
bool | operator== (const T *obj) const |
bool | operator== (const Ref< T > &obj) const |
bool | operator!= (const T *obj) const |
bool | operator!= (const Ref< T > &obj) const |
bool | operator< (const T *obj) const |
bool | operator< (const Ref< T > &obj) const |
T * | GetPtr () const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |