17using NodePtr = std::shared_ptr<Node>;
56 virtual ~Graph() =
default;
Abstract message channel connecting exactly one output port to one input port.
Definition Channel.hpp:54
Abstract base class for all nodes in the dfx runtime.
Definition Node.hpp:91
Hooks related to the lifecycle of graph objects (nodes and channels).
Definition Graph.hpp:54
virtual void onChannelRemoved(Core::ChannelPtr channel)=0
Called when a channel is being removed from the graph.
virtual void onNodeCreated(Core::NodePtr node)=0
Called after a node has been created and is known to the runtime.
virtual void onChannelCreated(Core::ChannelPtr channel)=0
Called after a channel has been created and registered in the graph.
virtual void onNodeRemoved(Core::NodePtr node)=0
Called when a node is being removed from the graph.
Definition Channel.hpp:22
std::shared_ptr< Node > NodePtr
Shared ownership pointer type for Nodes..
Definition Node.hpp:61
std::shared_ptr< Channel > ChannelPtr
Shared ownership handle for channels.
Definition Channel.hpp:147
Definition Delivery.hpp:26