[#BloombergLP-bdlcc-FixedQueue_PushProctor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::FixedQueue_PushProctor :relfileprefix: ../../ :mrdocs: This class provides a proctor that, unless the `release` method has been previously invoked, will remove and destroy all the elements from a `FixedQueue` object supplied at construction (putting that ring‐buffer into a valid empty state) upon the proctor's destruction. Note that this guard is used to provide exception safety when pushing an element into a `FixedQueue`. == Synopsis Declared in `<bdlcc_fixedqueue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class VAL> class FixedQueue_PushProctor; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/FixedQueue_PushProctor/2constructor.adoc[`FixedQueue_PushProctor`] [.small]#[constructor]# | Create a proctor that manages the specified `queue` and, unless `release` is called, will remove and destroy all the elements from `queue` starting at the specified `index` in the specified `generation`. The behavior is undefined unless `index` and `generation` refers to a valid element in `queue`. | xref:BloombergLP/bdlcc/FixedQueue_PushProctor/2destructor.adoc[`~FixedQueue_PushProctor`] [.small]#[destructor]# | Destroy this proctor and, if `release` was not called on this object, remove and destroy all the elements from the `FixedQueue` object supplied at construction. | xref:BloombergLP/bdlcc/FixedQueue_PushProctor/release.adoc[`release`] | Release from management the `FixedQueue` object supplied at construction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#