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

Name

Description

time

time value associated with this item

data

data associated with this item

handle

handle associated with this item

key

key associated with this item

basicAllocator

allocator used to supply memory

Created with MrDocs