17using NodePtr = std::shared_ptr<Node>;
56 virtual ~Graph() =
default;
Orchestrator connecting a source transport to a destination transport.
Definition Channel.hpp:58
Abstract base class for all nodes in the dfx runtime.
Definition Node.hpp:94
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:25
std::shared_ptr< Node > NodePtr
Shared ownership pointer type for Nodes..
Definition Endpoint.hpp:21
std::shared_ptr< Channel > ChannelPtr
Shared ownership handle for channels.
Definition Channel.hpp:137
Definition Delivery.hpp:25