#include <BoundedQueue.hpp>
Public Types | |
enum | Defaults { defaultUpperBound = 1000 } |
Public Member Functions | |
Configurator () | |
Constructs Configurator with default values used by BoundedQueue. | |
unsigned int | upperBound () const |
Returns current value of upper bound configuration parameter. | |
Configurator & | upperBound (unsigned int limit) |
Sets the value of upper bound configuration parameter. |
Use Configurator class to pass custom configuration parameters when creating objects of type BoundedQueue. Instance of Configurator class can directly be passed to Scheduler's constructor to customize the behavior of the queue. BoundedQueue uses the following default values:
|
Constructs Configurator with default values used by BoundedQueue.
|
|
Sets the value of
|
|
Returns current value of
|