proxygen
|
#include <Observer.h>
Public Member Functions | |
TLObserver (Observer< T > observer) | |
TLObserver (const TLObserver< T > &other) | |
const Snapshot< T > & | getSnapshotRef () const |
const Snapshot< T > & | operator* () const |
Private Attributes | |
Observer< T > | observer_ |
folly::ThreadLocal< Snapshot< T > > | snapshot_ |
Definition at line 192 of file Observer.h.
|
explicit |
Definition at line 57 of file Observer-inl.h.
References folly::observer::TLObserver< T >::observer_.
folly::observer::TLObserver< T >::TLObserver | ( | const TLObserver< T > & | other | ) |
Definition at line 62 of file Observer-inl.h.
const Snapshot< T > & folly::observer::TLObserver< T >::getSnapshotRef | ( | ) | const |
Definition at line 66 of file Observer-inl.h.
References folly::observer_detail::ObserverManager::inManagerThread(), folly::observer::TLObserver< T >::observer_, and folly::observer::TLObserver< T >::snapshot_.
|
inline |
Definition at line 198 of file Observer.h.
|
private |
Definition at line 203 of file Observer.h.
Referenced by folly::observer::TLObserver< T >::getSnapshotRef(), and folly::observer::TLObserver< T >::TLObserver().
|
private |
Definition at line 204 of file Observer.h.
Referenced by folly::observer::TLObserver< T >::getSnapshotRef().