Create a ReservationGuard object guarding the specified rateController and reserving the specified numUnits.

Synopsis

Declared in <balb_reservationguard.h>

ReservationGuard(
    TYPE* rateController,
    bsls::Types::Uint64 numUnits);

Parameters

Name

Description

rateController

rate controlling object in which to reserve units

numUnits

number of units to reserve

Created with MrDocs