proxygen
proxygen::AsyncTimeoutSet::TimeoutClock Class Referenceabstract

#include <AsyncTimeoutSet.h>

Inheritance diagram for proxygen::AsyncTimeoutSet::TimeoutClock:
MockTimeoutClock proxygen::SimpleTimeoutClock

Public Member Functions

 TimeoutClock ()
 
virtual ~TimeoutClock ()
 
virtual std::chrono::milliseconds millisecondsSinceEpoch ()=0
 

Detailed Description

Clock interface. Can be used for different time implementations (eg: monotonic, system) or mocking.

Definition at line 114 of file AsyncTimeoutSet.h.

Constructor & Destructor Documentation

proxygen::AsyncTimeoutSet::TimeoutClock::TimeoutClock ( )
inline

Definition at line 116 of file AsyncTimeoutSet.h.

116 {}
virtual proxygen::AsyncTimeoutSet::TimeoutClock::~TimeoutClock ( )
inlinevirtual

Member Function Documentation

virtual std::chrono::milliseconds proxygen::AsyncTimeoutSet::TimeoutClock::millisecondsSinceEpoch ( )
pure virtual

The documentation for this class was generated from the following file: