proxygen
|
#include <ReadMostlySharedPtr.h>
Public Member Functions | |
T * | get () |
std::shared_ptr< T > | getShared () |
bool | incref () |
void | decref () |
void | increfWeak () |
void | decrefWeak () |
size_t | useCount () const |
~ReadMostlySharedPtrCore () noexcept | |
Private Member Functions | |
ReadMostlySharedPtrCore (std::shared_ptr< T > ptr) | |
Private Attributes | |
T * | ptrRaw_ |
RefCount | count_ |
RefCount | weakCount_ |
std::shared_ptr< T > | ptr_ |
Friends | |
class | ReadMostlyMainPtr< T, RefCount > |
class | ReadMostlyMainPtrDeleter< RefCount > |
Definition at line 39 of file ReadMostlySharedPtr.h.
|
inlinenoexcept |
Definition at line 77 of file ReadMostlySharedPtr.h.
|
inlineexplicitprivate |
Definition at line 86 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 53 of file ReadMostlySharedPtr.h.
Referenced by folly::ReadMostlyMainPtrDeleter< RefCount >::~ReadMostlyMainPtrDeleter().
|
inline |
Definition at line 67 of file ReadMostlySharedPtr.h.
Referenced by folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::decref().
|
inline |
Definition at line 41 of file ReadMostlySharedPtr.h.
Referenced by folly::ReadMostlySharedPtr< T >::reset().
|
inline |
Definition at line 45 of file ReadMostlySharedPtr.h.
|
inline |
Definition at line 49 of file ReadMostlySharedPtr.h.
Referenced by folly::ReadMostlySharedPtr< T >::reset().
|
inline |
Definition at line 62 of file ReadMostlySharedPtr.h.
Referenced by folly::ReadMostlyWeakPtr< T >::reset().
|
inline |
Definition at line 73 of file ReadMostlySharedPtr.h.
|
friend |
Definition at line 83 of file ReadMostlySharedPtr.h.
|
friend |
Definition at line 84 of file ReadMostlySharedPtr.h.
|
private |
Definition at line 90 of file ReadMostlySharedPtr.h.
Referenced by folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::decref(), folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::incref(), folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::useCount(), and folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::~ReadMostlySharedPtrCore().
|
private |
Definition at line 92 of file ReadMostlySharedPtr.h.
Referenced by folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::decref(), folly::ReadMostlySharedPtr< T >::get(), folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::getShared(), folly::ReadMostlySharedPtr< T >::operator=(), and folly::ReadMostlySharedPtr< T >::reset().
|
private |
Definition at line 89 of file ReadMostlySharedPtr.h.
Referenced by folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::decref(), and folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::get().
|
private |
Definition at line 91 of file ReadMostlySharedPtr.h.
Referenced by folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::decrefWeak(), folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::increfWeak(), and folly::detail::ReadMostlySharedPtrCore< T, DefaultRefCount >::~ReadMostlySharedPtrCore().