radec/src/OrGate.h

17 lines
260 B
C
Raw Normal View History

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:
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