[#BloombergLP-bdlmt-EventScheduler-2constructor-05e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/EventScheduler.adoc[EventScheduler]::EventScheduler :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlmt_eventscheduler.h>` 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 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlmt/EventScheduler/2constructor-02.adoc[EventScheduler](); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-02.adoc[_» more..._]# Same as the preceding overload, using the specified `basicAllocator`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-0f.adoc[EventScheduler](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-0f.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-09.adoc[EventScheduler]( xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-09.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-080.adoc[EventScheduler]( xref:BloombergLP/bdlmt/EventScheduler/Dispatcher.adoc[Dispatcher] const& dispatcherFunctor, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-080.adoc[_» more..._]# 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 system monotonic 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-08c.adoc[EventScheduler]( std::chrono::steady_clock const&, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-08c.adoc[_» more..._]# 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 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-01e.adoc[EventScheduler]( std::chrono::system_clock const&, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-01e.adoc[_» more..._]# Create an event scheduler using the specified `dispatcherFunctor` (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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlmt/EventScheduler/2constructor-0b.adoc[EventScheduler]( xref:BloombergLP/bdlmt/EventScheduler/Dispatcher.adoc[Dispatcher] const& dispatcherFunctor, xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-0b.adoc[_» more..._]# 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 monotonic 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlmt/EventScheduler/2constructor-00.adoc[EventScheduler]( xref:BloombergLP/bdlmt/EventScheduler/Dispatcher.adoc[Dispatcher] const& dispatcherFunctor, std::chrono::steady_clock const&, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-00.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlmt/EventScheduler/2constructor-019.adoc[EventScheduler]( xref:BloombergLP/bdlmt/EventScheduler/Dispatcher.adoc[Dispatcher] const& dispatcherFunctor, std::chrono::system_clock const&, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-019.adoc[_» more..._]# Create an event scheduler using the default dispatcher functor (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation), using the system realtime clock to indicate the epoch used for all time intervals, 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-0e9.adoc[EventScheduler]( std::string_view const& eventSchedulerName, xref:BloombergLP/bdlm/MetricsRegistry.adoc[bdlm::MetricsRegistry]* metricsRegistry, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-0e9.adoc[_» more..._]# Create an event scheduler using the default dispatcher functor (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation), using the specified `clockType` to indicate the epoch used for all time intervals (see {Supported 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-046.adoc[EventScheduler]( xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType, std::string_view const& eventSchedulerName, xref:BloombergLP/bdlm/MetricsRegistry.adoc[bdlm::MetricsRegistry]* metricsRegistry, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-046.adoc[_» more..._]# Create an event scheduler using the specified `dispatcherFunctor` (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation), using the system realtime clock to indicate the epoch used for all time intervals, 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-0eb.adoc[EventScheduler]( xref:BloombergLP/bdlmt/EventScheduler/Dispatcher.adoc[Dispatcher] const& dispatcherFunctor, std::string_view const& eventSchedulerName, xref:BloombergLP/bdlm/MetricsRegistry.adoc[bdlm::MetricsRegistry]* metricsRegistry, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-0eb.adoc[_» more..._]# Create an event scheduler using the default dispatcher functor (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation), using the system monotonic clock to indicate the epoch used for all time intervals, 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-04a.adoc[EventScheduler]( std::chrono::steady_clock const&, std::string_view const& eventSchedulerName, xref:BloombergLP/bdlm/MetricsRegistry.adoc[bdlm::MetricsRegistry]* metricsRegistry, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-04a.adoc[_» more..._]# Create an event scheduler using the default dispatcher functor (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation), using the system realtime clock to indicate the epoch used for all time intervals, 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlmt/EventScheduler/2constructor-056.adoc[EventScheduler]( std::chrono::system_clock const&, std::string_view const& eventSchedulerName, xref:BloombergLP/bdlm/MetricsRegistry.adoc[bdlm::MetricsRegistry]* metricsRegistry, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-056.adoc[_» more..._]# Create an event scheduler using the specified `dispatcherFunctor` (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation), using the specified `clockType` to indicate the epoch used for all time intervals (see {Supported 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlmt/EventScheduler/2constructor-050.adoc[EventScheduler]( xref:BloombergLP/bdlmt/EventScheduler/Dispatcher.adoc[Dispatcher] const& dispatcherFunctor, xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType, std::string_view const& eventSchedulerName, xref:BloombergLP/bdlm/MetricsRegistry.adoc[bdlm::MetricsRegistry]* metricsRegistry, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-050.adoc[_» more..._]# Create an event scheduler using the specified `dispatcherFunctor` (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation), using the system monotonic clock to indicate the epoch used for all time intervals, 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlmt/EventScheduler/2constructor-03.adoc[EventScheduler]( xref:BloombergLP/bdlmt/EventScheduler/Dispatcher.adoc[Dispatcher] const& dispatcherFunctor, std::chrono::steady_clock const&, std::string_view const& eventSchedulerName, xref:BloombergLP/bdlm/MetricsRegistry.adoc[bdlm::MetricsRegistry]* metricsRegistry, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-03.adoc[_» more..._]# Create an event scheduler using the specified `dispatcherFunctor` (see {The Dispatcher Thread and the Dispatcher Functor} in the component‐level documentation), using the system realtime clock to indicate the epoch used for all time intervals, 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlmt/EventScheduler/2constructor-05c.adoc[EventScheduler]( xref:BloombergLP/bdlmt/EventScheduler/Dispatcher.adoc[Dispatcher] const& dispatcherFunctor, std::chrono::system_clock const&, std::string_view const& eventSchedulerName, xref:BloombergLP/bdlm/MetricsRegistry.adoc[bdlm::MetricsRegistry]* metricsRegistry, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlmt/EventScheduler/2constructor-05c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#