summaryrefslogtreecommitdiff
path: root/algo1w4d2/Kassa.h
blob: 511015b4043837edf6154a8deac3f843550d65b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
};