proxygen
|
#include <Observer.h>
Classes | |
struct | Context |
Public Member Functions | |
CallbackHandle () | |
template<typename T > | |
CallbackHandle (Observer< T > observer, folly::Function< void(Snapshot< T >)> callback) | |
CallbackHandle (const CallbackHandle &)=delete | |
CallbackHandle (CallbackHandle &&)=default | |
CallbackHandle & | operator= (const CallbackHandle &)=delete |
CallbackHandle & | operator= (CallbackHandle &&)=default |
~CallbackHandle () | |
void | cancel () |
Private Attributes | |
std::shared_ptr< Context > | context_ |
Definition at line 121 of file Observer.h.
|
inline |
Definition at line 81 of file Observer-inl.h.
folly::observer::CallbackHandle::CallbackHandle | ( | Observer< T > | observer, |
folly::Function< void(Snapshot< T >)> | callback | ||
) |
Definition at line 84 of file Observer-inl.h.
References context, folly::observer::makeObserver(), folly::gen::move, and folly::unit.
|
delete |
|
default |
|
inline |
Definition at line 100 of file Observer-inl.h.
|
inline |
Definition at line 104 of file Observer-inl.h.
|
delete |
|
default |
|
private |
Definition at line 139 of file Observer.h.