Constructors
Declared in <bdlmt_timereventscheduler.h>
Construct an event scheduler using the default dispatcher functor (see the "The dispatcher thread and the dispatcher functor" section in component-level doc) and use the realtime clock epoch for all time intervals (see []Clock-Types) ). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that the maximal number of scheduled non-recurring events and recurring events defaults to an implementation defined constant.
explicit
TimerEventScheduler(bslma::Allocator* basicAllocator = 0);
» more...
Construct an event scheduler using the default dispatcher functor (see the "The dispatcher thread and the dispatcher functor" section in component-level doc) and use the specified clockType to indicate the epoch used for all time intervals (see []Clock-Types)). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that the maximal number of scheduled non-recurring events and recurring events defaults to an implementation defined constant.
explicit
TimerEventScheduler(
bsls::SystemClockType::Enum clockType,
bslma::Allocator* basicAllocator = 0);
» more...
Construct an event scheduler using the specified dispatcherFunctor (see "The dispatcher thread and the dispatcher functor" section in component-level doc) and use the realtime clock epoch for all time intervals (see []Clock-Types)). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that the maximal number of scheduled non-recurring events and recurring events defaults to an implementation defined constant.
explicit
TimerEventScheduler(
Dispatcher const& dispatcherFunctor,
bslma::Allocator* basicAllocator = 0);
» more...
Construct a timer event scheduler using the default dispatcher functor (see the "The dispatcher thread and the dispatcher functor" section in component level doc) that has the capability to concurrently schedule at least the specified numEvents and numClocks and use the realtime clock epoch for all time intervals (see []Clock-Types)). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 <= numEvents < 2**24 and 0 <= numClocks < 2**24.
TimerEventScheduler(
int numEvents,
int numClocks,
bslma::Allocator* basicAllocator = 0);
» more...
Construct an event scheduler using the specified dispatcherFunctor (see "The dispatcher thread and the dispatcher functor" section in component-level doc) and use the specified clockType to indicate the epoch used for all time intervals (see []Clock-Types)). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that the maximal number of scheduled non-recurring events and recurring events defaults to an implementation defined constant.
explicit
TimerEventScheduler(
Dispatcher const& dispatcherFunctor,
bsls::SystemClockType::Enum clockType,
bslma::Allocator* basicAllocator = 0);
» more...
Construct an event scheduler using the default dispatcher functor (see the "The dispatcher thread and the dispatcher functor" section in component-level doc), use the realtime clock epoch for all time intervals (see []Clock-Types)), the specified eventSchedulerName to be used to identify this event scheduler, and the specified metricsRegistry to be used for reporting metrics. If metricsRegistry is 0, bdlm::MetricsRegistry::singleton() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that the maximal number of scheduled non-recurring events and recurring events defaults to an implementation defined constant.
explicit
TimerEventScheduler(
std::string_view const& eventSchedulerName,
bdlm::MetricsRegistry* metricsRegistry,
bslma::Allocator* basicAllocator = 0);
» more...
Construct an event scheduler using the default dispatcher functor (see the "The dispatcher thread and the dispatcher functor" section in component-level doc), use the specified clockType to indicate the epoch used for all time intervals (see []#(Supported Clock-Types)), the specified eventSchedulerName to be used to identify this event scheduler, and the specified metricsRegistry to be used for reporting metrics. If metricsRegistry is 0, bdlm::MetricsRegistry::singleton() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that the maximal number of scheduled non-recurring events and recurring events defaults to an implementation defined constant.
explicit
TimerEventScheduler(
bsls::SystemClockType::Enum clockType,
std::string_view const& eventSchedulerName,
bdlm::MetricsRegistry* metricsRegistry,
bslma::Allocator* basicAllocator = 0);
» more...
Construct a timer event scheduler using the default dispatcher functor (see the "The dispatcher thread and the dispatcher functor" section in component level doc) that has the capability to concurrently schedule at least the specified numEvents and numClocks and use the specified clockType to indicate the epoch used for all time intervals (see []Clock-Types)). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 <= numEvents < 2**24 and 0 <= numClocks < 2**24.
TimerEventScheduler(
int numEvents,
int numClocks,
bsls::SystemClockType::Enum clockType,
bslma::Allocator* basicAllocator = 0);
» more...
Construct a timer event scheduler using the specified dispatcherFunctor (see "The dispatcher thread and the dispatcher functor" section in component level doc) that has the capability to concurrently schedule at least the specified numEvents and numClocks and use the realtime clock epoch for all time intervals (see []Clock-Types)). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 <= numEvents < 2**24 and 0 <= numClocks < 2**24.
TimerEventScheduler(
int numEvents,
int numClocks,
Dispatcher const& dispatcherFunctor,
bslma::Allocator* basicAllocator = 0);
» more...
Construct an event scheduler using the specified dispatcherFunctor (see "The dispatcher thread and the dispatcher functor" section in component-level doc), use the realtime clock epoch for all time intervals (see []Clock-Types)), the specified eventSchedulerName to be used to identify this event scheduler, and the specified metricsRegistry to be used for reporting metrics. If metricsRegistry is 0, bdlm::MetricsRegistry::singleton() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that the maximal number of scheduled non-recurring events and recurring events defaults to an implementation defined constant.
explicit
TimerEventScheduler(
Dispatcher const& dispatcherFunctor,
std::string_view const& eventSchedulerName,
bdlm::MetricsRegistry* metricsRegistry,
bslma::Allocator* basicAllocator = 0);
» more...
Construct a timer event scheduler using the specified dispatcherFunctor (see "The dispatcher thread and the dispatcher functor" section in component level doc) that has the capability to concurrently schedule at least the specified numEvents and numClocks and use the specified clockType to indicate the epoch used for all time intervals (see []Clock-Types)). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 <= numEvents < 2**24 and 0 <= numClocks < 2**24.
TimerEventScheduler(
int numEvents,
int numClocks,
Dispatcher const& dispatcherFunctor,
bsls::SystemClockType::Enum clockType,
bslma::Allocator* basicAllocator = 0);
» more...
Construct a timer event scheduler using the default dispatcher functor (see the "The dispatcher thread and the dispatcher functor" section in component level doc) that has the capability to concurrently schedule at least the specified numEvents and numClocks, use the realtime clock epoch for all time intervals (see []Clock-Types)), the specified eventSchedulerName to be used to identify this event scheduler, and the specified metricsRegistry to be used for reporting metrics. If metricsRegistry is 0, bdlm::MetricsRegistry::singleton() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 <= numEvents < 2**24 and 0 <= numClocks < 2**24.
TimerEventScheduler(
int numEvents,
int numClocks,
std::string_view const& eventSchedulerName,
bdlm::MetricsRegistry* metricsRegistry,
bslma::Allocator* basicAllocator = 0);
» more...
Construct an event scheduler using the specified dispatcherFunctor (see "The dispatcher thread and the dispatcher functor" section in component-level doc), use the specified clockType to indicate the epoch used for all time intervals (see []Clock-Types)), the specified eventSchedulerName to be used to identify this event scheduler, and the specified metricsRegistry to be used for reporting metrics. If metricsRegistry is 0, bdlm::MetricsRegistry::singleton() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that the maximal number of scheduled non-recurring events and recurring events defaults to an implementation defined constant.
explicit
TimerEventScheduler(
Dispatcher const& dispatcherFunctor,
bsls::SystemClockType::Enum clockType,
std::string_view const& eventSchedulerName,
bdlm::MetricsRegistry* metricsRegistry,
bslma::Allocator* basicAllocator = 0);
» more...
Construct a timer event scheduler using the default dispatcher functor (see the "The dispatcher thread and the dispatcher functor" section in component level doc) that has the capability to concurrently schedule at least the specified numEvents and numClocks, use the specified clockType to indicate the epoch used for all time intervals (see []Clock-Types) in the component documentation), the specified eventSchedulerName to be used to identify this event scheduler, and the specified metricsRegistry to be used for reporting metrics. If metricsRegistry is 0, bdlm::MetricsRegistry::singleton() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 <= numEvents < 2**24 and 0 <= numClocks < 2**24.
TimerEventScheduler(
int numEvents,
int numClocks,
bsls::SystemClockType::Enum clockType,
std::string_view const& eventSchedulerName,
bdlm::MetricsRegistry* metricsRegistry,
bslma::Allocator* basicAllocator = 0);
» more...
Construct a timer event scheduler using the specified dispatcherFunctor (see "The dispatcher thread and the dispatcher functor" section in component level doc) that has the capability to concurrently schedule at least the specified numEvents and numClocks, use the realtime clock epoch for all time intervals (see []Clock-Types)), the specified eventSchedulerName to be used to identify this event scheduler, and the specified metricsRegistry to be used for reporting metrics. If metricsRegistry is 0, bdlm::MetricsRegistry::singleton() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 <= numEvents < 2**24 and 0 <= numClocks < 2**24.
TimerEventScheduler(
int numEvents,
int numClocks,
Dispatcher const& dispatcherFunctor,
std::string_view const& eventSchedulerName,
bdlm::MetricsRegistry* metricsRegistry,
bslma::Allocator* basicAllocator = 0);
» more...
Construct a timer event scheduler using the specified dispatcherFunctor (see "The dispatcher thread and the dispatcher functor" section in component level doc) that has the capability to concurrently schedule at least the specified numEvents and numClocks, use the specified clockType to indicate the epoch used for all time intervals (see []Clock-Types)), the specified eventSchedulerName to be used to identify this event scheduler, and the specified metricsRegistry to be used for reporting metrics. If metricsRegistry is 0, bdlm::MetricsRegistry::singleton() is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 <= numEvents < 2**24 and 0 <= numClocks < 2**24.
TimerEventScheduler(
int numEvents,
int numClocks,
Dispatcher const& dispatcherFunctor,
bsls::SystemClockType::Enum clockType,
std::string_view const& eventSchedulerName,
bdlm::MetricsRegistry* metricsRegistry,
bslma::Allocator* basicAllocator = 0);
» more...