Constructors
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...
| Name | Description |
|---|---|
| basicAllocator | allocator used to supply memory |
| clockType | clock used to interpret time intervals |
| dispatcherFunctor | dispatcher callback |
| steadyClock | tag selecting the system monotonic clock |
| systemClock | tag selecting the system realtime clock |
| eventSchedulerName | name identifying this scheduler |
| metricsRegistry | metrics registry, or singleton if 0 |