-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLineManager.h
More file actions
34 lines (25 loc) · 754 Bytes
/
Copy pathLineManager.h
File metadata and controls
34 lines (25 loc) · 754 Bytes
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
#ifndef SDDS_LINEMANAGER_H
#define SDDS_LINEMANAGER_H
#include <vector>
#include <string>
#include <iostream>
#include "Workstation.h"
namespace sdds
{
//The LineManager class manages an assembly line of active stations
class LineManager
{
//All the Workstaions 1,2,3
std::vector<Workstation*> activeLine{};
//Total Number of CustomerOrder Objects
size_t m_cntCustomerOrder{};
//Points to the first active station in the current assemply line
Workstation* m_firstStation{};
public:
LineManager(const std::string& file, const std::vector<Workstation*>& stations);
void linkStations();
bool run(std::ostream& os);
void display(std::ostream& os) const;
};
}
#endif // !SDDS_LINEMANAGER_H