#include <eosim/core/bin.hpp>
Inheritance diagram for eosim::core::Bin:
Public Member Functions | |
virtual | ~Bin () |
The destructor of Bin. | |
void | acquire (double amount) |
This operation acquires amount units of the bin. | |
bool | isAvailable (double amount) |
This operation returns if there is at least amount units of bin available. | |
double | getQuantity () |
This operation returns the actual amount of bins available. | |
Protected Member Functions | |
Bin (double quantity) | |
The constructor of Bin. | |
Protected Attributes | |
double | quantity |
Bin::Bin | ( | double | quantity | ) | [protected] |
void Bin::acquire | ( | double | amount | ) |
This operation acquires amount units of the bin.