Agora RTC Objective-C API Reference
Refactor
|
Go to the documentation of this file.
13 #ifndef OPTIONAL_REFCOUNTRELEASESTATUS_SPECIFIER
14 #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
15 #define OPTIONAL_REFCOUNTRELEASESTATUS_SPECIFIER agora::RefCountReleaseStatus::
17 #define OPTIONAL_REFCOUNTRELEASESTATUS_SPECIFIER
68 #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
74 #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
75 template <
class P0,
class P1,
class... Args>
77 : T(std::forward<P0>(p0),
79 std::forward<Args>(args)...),
114 #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
115 template <
typename T,
typename... types>
120 template <
typename T>
124 template <
typename T,
typename P0>
agora_refptr< T > make_refptr()
Definition: AgoraRefCountedObject.h:121
Definition: AgoraRefPtr.h:44
virtual ~RefCountedObject()
Definition: AgoraRefCountedObject.h:104
virtual bool HasOneRef() const
Definition: AgoraRefCountedObject.h:101
Definition: AgoraRefCountedObject.h:63
Definition: AgoraAtomicOps.h:21
bool HasOneRef() const
Definition: AgoraRefCountedObject.h:46
agora::RefCountReleaseStatus DecRef()
Definition: AgoraRefCountedObject.h:32
#define OPTIONAL_REFCOUNTRELEASESTATUS_SPECIFIER
Definition: AgoraRefCountedObject.h:17
static int AcquireLoad(volatile const int *i)
Definition: AgoraAtomicOps.h:52
static int Decrement(volatile int *i)
Definition: AgoraAtomicOps.h:51
void IncRef()
Definition: AgoraRefCountedObject.h:26
RefCountedObject()
Definition: AgoraRefCountedObject.h:65
virtual agora::RefCountReleaseStatus Release() const
Definition: AgoraRefCountedObject.h:85
static int Increment(volatile int *i)
Definition: AgoraAtomicOps.h:50
agora::RefCounter ref_count_
Definition: AgoraRefCountedObject.h:111
RefCountedObject(const RefCountedObject &)
RefCounter(int ref_count)
Definition: AgoraRefCountedObject.h:24
virtual void AddRef() const
Definition: AgoraRefCountedObject.h:83
RefCountedObject & operator=(const RefCountedObject &)
volatile int ref_count_
Definition: AgoraRefCountedObject.h:52
OPTIONAL_ENUM_CLASS RefCountReleaseStatus
Definition: AgoraRefPtr.h:25
Definition: AgoraRefCountedObject.h:22
RefCountedObject(const P0 &p0)
Definition: AgoraRefCountedObject.h:71