Create an event scheduler using the specified clockType.

Synopsis

Declared in <bdlmt_eventscheduler.h>

explicit
EventScheduler(
    bsls::SystemClockType::Enum clockType,
    bslma::Allocator* basicAllocator = 0);

Description

Create an event scheduler using the default dispatcher functor (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation) and using the specified clockType to indicate the epoch used for all time intervals (see {Supported Clock Types} in the component documentation). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

clockType

clock used to interpret time intervals

basicAllocator

allocator used to supply memory

Created with MrDocs