BloombergLP::bdlcc::TimeQueueItem::TimeQueueItem

Constructors

Synopses

Declared in <bdlcc_timequeue.h>

Create an empty time queue item. Optionally specify a basicAllocator used to supply memory. If basicAllocator is zero, then use the currently installed default allocator.

explicit
TimeQueueItem(bslma::Allocator* basicAllocator = 0);
» more...

Create a copy of the specified original time queue item. Optionally specify a basicAllocator used to supply memory. If basicAllocator is zero, then use the currently installed default allocator.

TimeQueueItem(
    TimeQueueItem<DATA> const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create time queue item holding a copy of the specified data, with the specified associated time and handle information. Optionally specify a basicAllocator used to supply memory. If basicAllocator is zero, then use the currently installed default allocator.

TimeQueueItem(
    bsls::TimeInterval const& time,
    DATA const& data,
    Handle handle,
    bslma::Allocator* basicAllocator = 0);
» more...

Create time queue item holding a copy of the specified data, with the specified associated time, handle, and key information. Optionally specify a basicAllocator used to supply memory. If basicAllocator is zero, then use the currently installed default allocator.

TimeQueueItem(
    bsls::TimeInterval const& time,
    DATA const& data,
    Handle handle,
    Key const& key,
    bslma::Allocator* basicAllocator = 0);
» more...