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

Name

Description

time

time value associated with this item

data

data associated with this item

handle

handle associated with this item

basicAllocator

allocator used to supply memory

Created with MrDocs