BloombergLP::bdlcc::TimeQueueItem::TimeQueueItem

Create a time queue item with the specified time, data, handle, and key.

Synopsis

Declared in <bdlcc_timequeue.h>

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

Description

Create a 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.

Parameters

NameDescription
timetime value associated with this item
datadata associated with this item
handlehandle associated with this item
keykey associated with this item
basicAllocatorallocator used to supply memory