91 virtual void relationship(
NodeSet&
set)
const;
95 virtual std::shared_ptr<NodeDelegate> node_delegate()
const;
126 virtual std::string selection_path()
const;
129 std::weak_ptr<Impl> _node;
NodePlugin(Node *node)
Definition: NodePlugin.h:31
virtual void on_delete(bool)
Prepare the node to be deleted.
Definition: NodePlugin.h:44
virtual void on_input_connection(const Plug &, const Plug &, bool)
Callback called when an a connection has been done between an output plug and a plug of this node as ...
Definition: NodePlugin.h:70
Derive this class to create your own Node type.
Definition: NodePlugin.h:28
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
virtual void on_output_disconnection(const Plug &, const Plug &)
Callback called when an a connection has been broken between a plug of this node as output and an inp...
Definition: NodePlugin.h:85
virtual void on_input_disconnection(const Plug &, const Plug &)
Callback called when an a connection has been broken between an output plug and a plug of this node a...
Definition: NodePlugin.h:80
virtual void on_add_to_document()
Callback called when the node is added to the document.
Definition: NodePlugin.h:54
virtual std::optional< Plug > channel_switch_sub_channel(const std::string_view &sub_channel) const
Return the plug for the sub channel name if available.
Definition: NodePlugin.h:112
#define MAQUINA_EXPORT
Definition: Export.h:31
A node plug.
Definition: Plug.h:59
virtual std::optional< Plug > channel_switch_output() const
If that not is a channel switch node, return the output channel plug.
Definition: NodePlugin.h:106
virtual ~NodePlugin()
Definition: NodePlugin.h:32
virtual std::vector< Plug > channel_switch_inputs() const
Return the input channel plugs.
Definition: NodePlugin.h:109
virtual void on_remove_from_document()
Callback called when the node is removed from the document.
Definition: NodePlugin.h:64
virtual void on_output_connection(const Plug &, const Plug &, bool)
Callback called when an a connection has been done between a plug of this node as output and an input...
Definition: NodePlugin.h:75
virtual void on_first_init(bool)
Perform the one shot initialization tasks for this node.
Definition: NodePlugin.h:37
Base class of all Rumba nodes.
Definition: Node.h:37