proxygen
|
#include <Observer.h>
Public Member Functions | |
const T & | operator* () const |
const T * | operator-> () const |
const T * | get () const |
std::shared_ptr< const T > | getShared () const |
size_t | getVersion () const |
Private Member Functions | |
Snapshot (const observer_detail::Core &core, std::shared_ptr< const T > data, size_t version) | |
Private Attributes | |
std::shared_ptr< const T > | data_ |
size_t | version_ |
const observer_detail::Core * | core_ |
Friends | |
class | Observer< T > |
Definition at line 80 of file Observer.h.
|
inlineprivate |
|
inline |
|
inline |
|
inline |
Return the version of the observed object.
Definition at line 101 of file Observer.h.
References folly::observer::Snapshot< T >::version_.
Referenced by folly::observer::Observer< T >::needRefresh().
|
inline |
Definition at line 82 of file Observer.h.
|
inline |
Definition at line 86 of file Observer.h.
Definition at line 106 of file Observer.h.
|
private |
Definition at line 118 of file Observer.h.
Referenced by folly::observer::Observer< T >::needRefresh().
|
private |
Definition at line 116 of file Observer.h.
Referenced by folly::observer::Snapshot< T >::get(), folly::observer::Snapshot< T >::getShared(), and folly::observer::Snapshot< T >::Snapshot().
|
private |
Definition at line 117 of file Observer.h.
Referenced by folly::observer::Snapshot< T >::getVersion().