22namespace NAV::experimental
45 [[nodiscard]] std::string
type()
const override;
68 constexpr static size_t OUTPUT_PORT_INDEX_FLOW = 0;
69 constexpr static size_t INPUT_PORT_INDEX_FLOW = 0;
72 bool initialize()
override;
75 void deinitialize()
override;
86 std::deque<std::shared_ptr<const NodeData>> _buffer;
nlohmann::json json
json namespace
Definition FlowManager.hpp:21
Abstract parent class for all nodes.
Definition Node.hpp:86
Output pins of nodes.
Definition Pin.hpp:338
Delays messages by buffering them.
Definition Delay.hpp:26
Delay & operator=(Delay &&)=delete
Move assignment operator.
json save() const override
Saves the node into a json object.
bool onCreateLink(OutputPin &startPin, InputPin &endPin) override
Called when a new link is to be established.
Delay(const Delay &)=delete
Copy constructor.
Delay(Delay &&)=delete
Move constructor.
void guiConfig() override
ImGui config window which is shown on double click.
Delay & operator=(const Delay &)=delete
Copy assignment operator.
Delay()
Default constructor.
~Delay() override
Destructor.
std::string type() const override
String representation of the Class Type.
static std::string typeStatic()
String representation of the Class Type.
static std::string category()
String representation of the Class Category.
void restore(const json &j) override
Restores the node from a json object.