-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGrillChef.h
53 lines (45 loc) · 1.12 KB
/
GrillChef.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef GRILLCHEF_H
#define GRILLCHEF_H
#include <string>
#include <iostream>
#include "Chef.h"
#include "StarterMeal.h"
#include "MainMeal.h"
#include "BeefKebab.h"
#include "BeefBurger.h"
using namespace std;
/**
* @brief The GrillChef class is a concrete class that inherits from the Chef abstract class.
*
*/
class GrillChef : public Chef {
public:
/**
* @brief Creates a StarterMeal object.
*
* @return Meal*
*/
Meal* createStarter();
/**
* @brief Creates a MainMeal object.
*
* @return Meal*
*/
Meal* createMain();
/**
* @brief Adds a Meal object to the Chef's list of meals.
*
* @param meal
*/
void addMeal(Meal* meal);
/**
* @brief Receives an order from the Waiter and prepares the food item.
*
* @param foodItem
* @param tableNumber
* @param custID
* @param numOfItems
*/
virtual void receiveOrder(FoodItem* foodItem,int tableNumber,int custID,int numOfItems);
};
#endif