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.
Synopsis
Declared in <bdlcc_deque.h>
class Proctor;
Member Functions
Name |
Description |
|
Create a |
|
Release the lock on the mutex of the |
Return |
|
In the case where this |
|
Return a reference to the |
|
Return a pointer to the |
|
Return a reference providing modifiable access to the element at the specified |
|
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