43 [[nodiscard]] std::string
type()
const override;
60 constexpr static size_t OUTPUT_PORT_INDEX_FLOW = 0;
61 constexpr static size_t INPUT_PORT_INDEX_FLOW_FIRST = 0;
62 constexpr static size_t INPUT_PORT_INDEX_FLOW_SECOND = 1;
68 void setPinIdentifiers(
size_t connectedPinIndex,
size_t otherPinIndex,
const std::vector<std::string>& dataIdentifiers);
72 void updateOutputPin(
const std::vector<std::string>& oldDataIdentifiers);
Merges two input ports into a single output port.
Definition Merger.hpp:24
bool onCreateLink(OutputPin &startPin, InputPin &endPin) override
Called when a new link is to be established.
Merger & operator=(const Merger &)=delete
Copy assignment operator.
Merger(const Merger &)=delete
Copy constructor.
static std::string category()
String representation of the Class Category.
std::string type() const override
String representation of the Class Type.
Merger & operator=(Merger &&)=delete
Move assignment operator.
void afterDeleteLink(OutputPin &startPin, InputPin &endPin) override
Called when a link was deleted.
Merger()
Default constructor.
static std::string typeStatic()
String representation of the Class Type.
~Merger() override
Destructor.
Merger(Merger &&)=delete
Move constructor.
Abstract parent class for all nodes.
Definition Node.hpp:86
Output pins of nodes.
Definition Pin.hpp:338