Constructors

Synopses

Declared in <bdlcc_timequeue.h>

Create an empty time queue item.

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

Create a copy of the specified original time queue item.

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

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

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

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

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

Parameters

Name

Description

basicAllocator

allocator used to supply memory

original

item to copy

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

Created with MrDocs