Proctor granting locked, direct access to the underlying bsl::deque.
Synopsis
Declared in <bdlcc_deque.h>
class Proctor;
Description
This class defines a proctor type that provides direct access to the underlying bsl::deque contained in a Deque. Creation of a Proctor object locks the mutex of the Deque, and destruction unlocks it.
Member Functions
Name |
Description |
|
Create a |
|
Destroy this proctor and unlock its associated |
Return |
|
Attach this proctor to the specified |
|
Return a reference to the |
|
Return a pointer to the |
|
Return a modifiable reference to the element at |
|
Release this proctor without destroying it. Afterward the destructor will have no effect. This may be called multiple times; only the first call has any effect. |
Created with MrDocs