BloombergLP::bdlcc::TimeQueueItem

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

NameDescription
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

NameDescription
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.