proxygen
|
#include <MockTime.h>
Public Member Functions | |
void | advance (std::chrono::milliseconds ms) |
void | setCurrentTime (std::chrono::time_point< ClockType > t) |
void | verifyAndClear () |
std::chrono::time_point< ClockType > | now () const override |
Public Member Functions inherited from proxygen::TimeUtilGeneric< ClockType > | |
virtual | ~TimeUtilGeneric () |
virtual uint64_t | msSinceEpoch () |
Private Attributes | |
std::chrono::time_point< ClockType > | t_ |
Additional Inherited Members | |
Static Public Member Functions inherited from proxygen::TimeUtilGeneric< ClockType > | |
static const std::chrono::time_point< ClockType > & | getZeroTimePoint () |
Definition at line 18 of file MockTime.h.
|
inline |
Definition at line 21 of file MockTime.h.
References proxygen::MockTimeUtilGeneric< ClockType >::t_.
|
inlineoverridevirtual |
Reimplemented from proxygen::TimeUtilGeneric< ClockType >.
Definition at line 34 of file MockTime.h.
References proxygen::MockTimeUtilGeneric< ClockType >::t_.
|
inline |
Definition at line 25 of file MockTime.h.
References folly::pushmi::detail::t, and proxygen::MockTimeUtilGeneric< ClockType >::t_.
|
inline |
Definition at line 31 of file MockTime.h.
|
private |
Definition at line 39 of file MockTime.h.
Referenced by proxygen::MockTimeUtilGeneric< ClockType >::advance(), proxygen::MockTimeUtilGeneric< ClockType >::now(), and proxygen::MockTimeUtilGeneric< ClockType >::setCurrentTime().