circuit-logic-simulator/Parts/BufferGate.h
2020-03-24 20:18:39 +01:00

16 lines
281 B
C++

#ifndef BUFFERGATE_H
#define BUFFERGATE_H
#include "../Part.h"
class BufferGate : public Part
{
public:
BufferGate(Logic* logic);
QVector<bool> compute(QVector<bool> inputs) override;
QPainterPath symbolPainterPath(QRect limits) override;
};
#endif // BUFFERGATE_H