This parameterized structure holds a time, data and associated handle. This structure is used in the interface of TimeQueue<DATA> to provide thread‐safe access to individual elements on the queue. Note that DATA must be default‐constructible.

Synopsis

Declared in <bdlcc_timequeue.h>

template<class DATA>
class TimeQueueItem;

Type Aliases

Name

Description

Handle

This typedef is an alias for the handle type of the associated TimeQueue.

Key

This typedef is an alias for the key type of the associated TimeQueue.

Member Functions

Name

Description

TimeQueueItem [constructor]

Constructors

operator=

Set the value of this TimeQueueItem to that of rhs.

data

data overloads

handle

handle overloads

key

key overloads

time

time overloads

operator BloombergLP::bslmf::NestedTraitDeclaration<TimeQueueItem, UsesBslmaAllocator>

Declare that this type uses a bslma allocator.

Created with MrDocs