diff options
Diffstat (limited to 'algo1w4d2/Kassa.h')
-rw-r--r-- | algo1w4d2/Kassa.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/algo1w4d2/Kassa.h b/algo1w4d2/Kassa.h new file mode 100644 index 0000000..511015b --- /dev/null +++ b/algo1w4d2/Kassa.h @@ -0,0 +1,22 @@ +#pragma once + +#include <iostream> + +#include "Klant.h" +#include "Queue.h" + +class Kassa { +public: + void step(); /** @brief handle MAX_TRANSACTION_PER_CHECKOUT amount of customers */ + void add_customer(const Klant&); /** @brief add customer to checkout queue */ + +public: + Kassa(); + virtual ~Kassa(); + +public: + friend std::ostream& operator << (std::ostream& output, const Kassa& kassa); + +private: + Queue* _queue; +}; |