-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFalconCore.h
51 lines (46 loc) · 947 Bytes
/
FalconCore.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
/**
* @file FalconCore.h
* @author Rina Rene du Toit
* @class FalconCore
* @brief Inherts from Engine, Design Pattern: Template in State, Participant: Concrete class
*/
#ifndef FALCONCORE_H
#define FALCONCORE_H
using namespace std;
#include "Engine.h"
#include "MerlinEngine.h"
#include <iostream>
class FalconCore : public Engine {
private:
/**
* Array of merlin engines
*/
MerlinEngine** merlins;
/**
* Used for testing
*/
const int EngineCount = 9; //Don't remove
public:
/**
* Constructor that initialises its the Merlin engines
*/
FalconCore();
/**
* Destructor for the FalconCore class
*/
~FalconCore();
/**
* Turn on the Falcon Core engine as well as its Merlin egines
*/
void TurnOn();
/**
* Turn off the Falcon Core engine as well as its Merlin egines
*/
void TurnOff();
/**
* Returns number of engines in core
* @return number of merlin engines attached
*/
int getCount();
};
#endif