Provide a protocol (or pure interface) for managing record handles (specifically instances of bsl::shared_ptr<Record>).
Synopsis
Declared in <ball_recordbuffer.h>
class RecordBuffer;
Member Functions
Name |
Description |
|
Remove all record handles stored in this record buffer and destroy this record buffer. |
|
Return a reference of the shared pointer referring to the record positioned at the back of this record buffer. The behavior is undefined unless this record buffer has been locked by the |
|
Lock this record buffer so that a sequence of method invocations on this record buffer can occur uninterrupted by other threads. The buffer will remain locked until |
|
Unlock this record buffer, thus allowing other threads to access it. The behavior is undefined unless the buffer is already locked by |
|
Return a reference of the shared pointer referring to the record positioned at the front of this record buffer. The behavior is undefined unless this record buffer has been locked by the |
|
Return the number of record handles in this record buffer. |
|
Remove from this record buffer the record handle positioned at the back of the buffer. The behavior is undefined unless |
|
Remove from this record buffer the record handle positioned at the front of the buffer. The behavior is undefined unless |
|
Append the specified |
|
Insert the specified |
|
Remove all record handles stored in this record buffer. Note that |
Derived Classes
Name |
Description |
This class provides a concrete, thread‐safe implementation of the |
Created with MrDocs