18 #include "IComponent.hpp" 19 #include "Component.hpp" 50 nts::Tristate
compute(std::size_t pin = 1)
override;
66 void dump()
const noexcept
override;
97 void checkSelfLink(std::size_t pin1, std::size_t pin2);
106 nts::Tristate computeInput(
nts::Pin &pin);
116 nts::Tristate computeOutput(
nts::Door &door);
118 std::map<size_t, nts::Door> _doors;
Definition: IComponent.hpp:45
nts::Tristate compute(std::size_t pin=1) override
Compute.
Definition: C4030.cpp:68
Definition: Component.hpp:19
void setLink(std::size_t pin, nts::IComponent &other, std::size_t otherPin) final
Set link method.
Definition: C4030.cpp:106
void dump() const noexcept override
Display information.
Definition: C4030.cpp:190
void setInput(std::size_t pin, nts::IComponent &other, std::size_t otherPin) final
Set input link method.
Definition: C4030.cpp:151
C4030()
Component 4030 Constructor.
Definition: C4030.cpp:12
void setOutput(std::size_t pin, nts::IComponent &other, std::size_t otherPin) final
Set output link method.
Definition: C4030.cpp:175
Definition: IComponent.hpp:18
Quad 2-input EXCLUSIVE-OR gate.
Definition: C4030.hpp:28
~C4030()
Component 4030 Destructor.
Definition: C4030.cpp:36
Definition: IComponent.hpp:52