[#BloombergLP-bdlcc-TimeQueueItem]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::TimeQueueItem
:relfileprefix: ../../
:mrdocs:

Container for a time, data, handle, and key associated with a queue item&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;timequeue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class DATA&gt;
class TimeQueueItem;
----

== Description

This parameterized structure holds a time, data and associated handle&period; This structure is used in the interface of `TimeQueue&lt;DATA&gt;` to provide thread&hyphen;safe access to individual elements on the queue&period; Note that `DATA` must be default&hyphen;constructible&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/TimeQueueItem/Handle-03.adoc[`Handle`] 
| This `typedef` is an alias for the handle type of the associated `TimeQueue`&period;
| xref:BloombergLP/bdlcc/TimeQueueItem/Key-095.adoc[`Key`] 
| This `typedef` is an alias for the key type of the associated `TimeQueue`&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/TimeQueueItem/2constructor-07.adoc[`TimeQueueItem`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlcc/TimeQueueItem/operator_assign.adoc[`operator&equals;`] 
| Set the value of this `TimeQueueItem` to that of `rhs`&period;
| xref:BloombergLP/bdlcc/TimeQueueItem/data-0a.adoc[`data`] 
| `data` overloads
| xref:BloombergLP/bdlcc/TimeQueueItem/handle-0a.adoc[`handle`] 
| `handle` overloads
| xref:BloombergLP/bdlcc/TimeQueueItem/key-03.adoc[`key`] 
| `key` overloads
| xref:BloombergLP/bdlcc/TimeQueueItem/time-09.adoc[`time`] 
| `time` overloads
| xref:BloombergLP/bdlcc/TimeQueueItem/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;TimeQueueItem, UsesBslmaAllocator&gt;`] 
| Declare that this type uses a `bslma` allocator&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
