Create an event scheduler using dispatcherFunctor.
Declared in <bdlmt_eventscheduler.h>
EventScheduler(
Dispatcher const& dispatcherFunctor,
std::chrono::system_clock const& systemClock,
bslma::Allocator* basicAllocator = 0);
Create an event scheduler using the specified dispatcherFunctor (see {The Dispatcher Thread and the Dispatcher Functor} in the component-level documentation) and using the system realtime clock to indicate the epoch used for all time intervals. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| Name | Description |
|---|---|
| dispatcherFunctor | dispatcher callback |
| systemClock | tag selecting the system realtime clock |
| basicAllocator | allocator used to supply memory |