proxygen
|
#include <AsyncTimeoutSet.h>
Public Member Functions | |
TimeoutClock () | |
virtual | ~TimeoutClock () |
virtual std::chrono::milliseconds | millisecondsSinceEpoch ()=0 |
Clock interface. Can be used for different time implementations (eg: monotonic, system) or mocking.
Definition at line 114 of file AsyncTimeoutSet.h.
|
inline |
Definition at line 116 of file AsyncTimeoutSet.h.
|
inlinevirtual |
Definition at line 118 of file AsyncTimeoutSet.h.
References proxygen::AsyncTimeoutSet::Callback::AsyncTimeoutSet, proxygen::AsyncTimeoutSet::destroy(), and proxygen::millisecondsSinceEpoch().
|
pure virtual |
Implemented in proxygen::SimpleTimeoutClock.
Referenced by proxygen::AsyncTimeoutSet::Callback::setScheduled().