BloombergLP::bdlmt::EventScheduler::EventScheduler

Constructors

Synopses

Declared in <bdlmt_eventscheduler.h>

Create an event scheduler using the realtime clock.

EventScheduler();
» more...

Same as the preceding overload, using the specified basicAllocator.

explicit
EventScheduler(bslma::Allocator* basicAllocator);
» more...

Create an event scheduler using the specified clockType.

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

Create an event scheduler using dispatcherFunctor.

explicit
EventScheduler(
    Dispatcher const& dispatcherFunctor,
    bslma::Allocator* basicAllocator = 0);
» more...

Create an event scheduler using the monotonic clock.

explicit
EventScheduler(
    std::chrono::steady_clock const& steadyClock,
    bslma::Allocator* basicAllocator = 0);
» more...

Create an event scheduler using the realtime clock.

explicit
EventScheduler(
    std::chrono::system_clock const& systemClock,
    bslma::Allocator* basicAllocator = 0);
» more...

Create an event scheduler using dispatcherFunctor and clockType.

EventScheduler(
    Dispatcher const& dispatcherFunctor,
    bsls::SystemClockType::Enum clockType,
    bslma::Allocator* basicAllocator = 0);
» more...

Create an event scheduler using dispatcherFunctor and the monotonic clock.

EventScheduler(
    Dispatcher const& dispatcherFunctor,
    std::chrono::steady_clock const& steadyClock,
    bslma::Allocator* basicAllocator = 0);
» more...

Create an event scheduler using dispatcherFunctor.

EventScheduler(
    Dispatcher const& dispatcherFunctor,
    std::chrono::system_clock const& systemClock,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a named event scheduler using the realtime clock.

explicit
EventScheduler(
    std::string_view const& eventSchedulerName,
    bdlm::MetricsRegistry* metricsRegistry,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a named event scheduler using the specified clockType.

explicit
EventScheduler(
    bsls::SystemClockType::Enum clockType,
    std::string_view const& eventSchedulerName,
    bdlm::MetricsRegistry* metricsRegistry,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a named event scheduler using dispatcherFunctor.

explicit
EventScheduler(
    Dispatcher const& dispatcherFunctor,
    std::string_view const& eventSchedulerName,
    bdlm::MetricsRegistry* metricsRegistry,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a named event scheduler using the monotonic clock.

explicit
EventScheduler(
    std::chrono::steady_clock const& steadyClock,
    std::string_view const& eventSchedulerName,
    bdlm::MetricsRegistry* metricsRegistry,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a named event scheduler using the realtime clock.

explicit
EventScheduler(
    std::chrono::system_clock const& systemClock,
    std::string_view const& eventSchedulerName,
    bdlm::MetricsRegistry* metricsRegistry,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a named event scheduler using dispatcherFunctor and clockType.

EventScheduler(
    Dispatcher const& dispatcherFunctor,
    bsls::SystemClockType::Enum clockType,
    std::string_view const& eventSchedulerName,
    bdlm::MetricsRegistry* metricsRegistry,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a named event scheduler using dispatcherFunctor and the monotonic clock.

EventScheduler(
    Dispatcher const& dispatcherFunctor,
    std::chrono::steady_clock const& steadyClock,
    std::string_view const& eventSchedulerName,
    bdlm::MetricsRegistry* metricsRegistry,
    bslma::Allocator* basicAllocator = 0);
» more...

Create an event scheduler with the system realtime clock.

EventScheduler(
    Dispatcher const& dispatcherFunctor,
    std::chrono::system_clock const& systemClock,
    std::string_view const& eventSchedulerName,
    bdlm::MetricsRegistry* metricsRegistry,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
basicAllocatorallocator used to supply memory
clockTypeclock used to interpret time intervals
dispatcherFunctordispatcher callback
steadyClocktag selecting the system monotonic clock
systemClocktag selecting the system realtime clock
eventSchedulerNamename identifying this scheduler
metricsRegistrymetrics registry, or singleton if 0