quadEM  7-0
Public Member Functions | List of all members
Throttler Class Reference

#include <throttler.h>

Public Member Functions

 Throttler (double limit=0.0)
 
void reset (double limit)
 
double refill ()
 
bool tryTake (double tokens)
 

Constructor & Destructor Documentation

Throttler::Throttler ( double  limit = 0.0)

Member Function Documentation

double Throttler::refill ( )
void Throttler::reset ( double  limit)
bool Throttler::tryTake ( double  tokens)

The documentation for this class was generated from the following files: