Constructors
Declared in <bdlcc_timequeue.h>
Create an empty time queue. Optionally specify numIndexBits to configure the number of index bits used by this object. If numIndexBits is not specified a default value of 17 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 8 <= numIndexBits <= 24. See the component-level documentation for more information regarding numIndexBits.
explicit
TimeQueue(bslma::Allocator* basicAllocator = 0);
» more...
DEPRECATED: Use the other constructor overloads instead. Note that the specified poolTimerMemory argument controlled whether additional memory used by an internal bsl::map was pooled. When bsl::map was modified to pool its own nodes, this option became irrelevant and is now ignored.
explicit
TimeQueue(
bool poolTimerMemory,
bslma::Allocator* basicAllocator = 0);
» more...
Same as the preceding overload, using the specified numIndexBits.
explicit
TimeQueue(
int numIndexBits,
bslma::Allocator* basicAllocator = 0);
» more...
Same as the preceding deprecated overload, with the specified numIndexBits.
TimeQueue(
int numIndexBits,
bool poolTimerMemory,
bslma::Allocator* basicAllocator = 0);
» more...