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. |
|
Lock this record buffer so that a sequence of method invocations on this record buffer can occur uninterrupted by other threads. |
|
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. |
|
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 |
Concrete, thread‐safe fixed‐size buffer of record handles. |
Created with MrDocs