This class template implements a proctor for reserving and cancelling units in a rate controlling object.
Synopsis
Declared in <balb_reservationguard.h>
template<class TYPE>
class ReservationGuard;
Description
This class: * is exception neutral (agnostic) * is const thread‐safe For terminology see bsldoc_glossary.
Member Functions
Name |
Description |
|
Create a |
|
Destroy this object. Invoke the |
Cancel the specified |
|
Return a pointer to the rate controlling object used by this object. |
|
Submit the specified |
|
Return the number of units reserved by this object. |
Created with MrDocs