BloombergLP::bdlmt::TimerEventSchedulerTestTimeSource::TimerEventSchedulerTestTimeSource

Construct a test time-source that controls the given scheduler's clock.

Synopsis

Declared in <bdlmt_timereventscheduler.h>

explicit
TimerEventSchedulerTestTimeSource(TimerEventScheduler* scheduler);

Description

Construct a test time-source object that will control the "system-time" observed by the specified scheduler. Initialize now to be an arbitrary time value. The behavior is undefined if any methods have previously been called on scheduler.

Parameters

NameDescription
schedulerscheduler whose clock is replaced