-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtransm.h
More file actions
35 lines (26 loc) · 722 Bytes
/
transm.h
File metadata and controls
35 lines (26 loc) · 722 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
35
#ifndef Transm_h
#define Transm_h
#include "engine.h"
struct transm { string part; double timeSwap; };
class Transm {
friend ostream &operator<<(ostream &, const Transm &);
public:
Transm(const double &);
Transm(const Transm &);
~Transm() {}
const double getTime() const;
const bool setTransm();
static const double getTimeSwap();
private: //Sobrecargas
const bool operator==(const transm &) const;
private: //Bibliotecas
static const transm transmParts[];
private:
static const transm &getTransm();
transm myTransm;
double timeSwap;
static const double MINTIME;
static const double MAXTIME;
};
ostream &operator<<(ostream &, const transm &);
#endif