BinaryNinja::StaticCoreRefCountObject< T > Class Template Reference

Public Member Functions

 StaticCoreRefCountObject ()
 
virtual ~StaticCoreRefCountObject ()
 
T * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 

Static Public Member Functions

static T * GetObject (StaticCoreRefCountObject *obj)
 

Public Attributes

std::atomic< int > m_refs
 
T * m_object
 

Constructor & Destructor Documentation

◆ StaticCoreRefCountObject()

template<class T >
BinaryNinja::StaticCoreRefCountObject< T >::StaticCoreRefCountObject ( )
inline

◆ ~StaticCoreRefCountObject()

template<class T >
virtual BinaryNinja::StaticCoreRefCountObject< T >::~StaticCoreRefCountObject ( )
inlinevirtual

Member Function Documentation

◆ AddRef()

template<class T >
void BinaryNinja::StaticCoreRefCountObject< T >::AddRef ( )
inline

◆ AddRefForRegistration()

template<class T >
void BinaryNinja::StaticCoreRefCountObject< T >::AddRefForRegistration ( )
inline

◆ GetObject() [1/2]

template<class T >
T * BinaryNinja::StaticCoreRefCountObject< T >::GetObject ( ) const
inline

◆ GetObject() [2/2]

template<class T >
static T * BinaryNinja::StaticCoreRefCountObject< T >::GetObject ( StaticCoreRefCountObject< T > *  obj)
inlinestatic

◆ Release()

template<class T >
void BinaryNinja::StaticCoreRefCountObject< T >::Release ( )
inline

Member Data Documentation

◆ m_object

template<class T >
T* BinaryNinja::StaticCoreRefCountObject< T >::m_object

◆ m_refs

template<class T >
std::atomic<int> BinaryNinja::StaticCoreRefCountObject< T >::m_refs

The documentation for this class was generated from the following file: