2017-04-23 19:13:23 -04:00
|
|
|
#ifndef OR
|
|
|
|
#define OR
|
|
|
|
#include "Gate.h"
|
|
|
|
#include "Event.h"
|
|
|
|
#include "Wire.h"
|
|
|
|
|
2017-04-23 19:33:58 -04:00
|
|
|
using namespace std;
|
|
|
|
|
2017-04-23 19:13:23 -04:00
|
|
|
class OrGate : public Gate {
|
|
|
|
public:
|
2017-04-23 19:29:29 -04:00
|
|
|
OrGate(int d, Wire* wire1, Wire* wire2, Wire* wire3);
|
|
|
|
Event evaluate(int evTime);
|
|
|
|
int getDelay();
|
2017-04-23 19:13:23 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // !OR
|