BloombergLP::bdlcc::TimeQueueItem::TimeQueueItem

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

Synopsis

Declared in <bdlcc_timequeue.h>

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

Description

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

Parameters

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