Class Graph

Inheritance Relationships

Derived Type

Class Documentation

class Graph

A graph of processes, storing a collection of process references, and connections between the ports

Subclassed by eat::framework::CompositeProcess

Public Functions

inline virtual ~Graph()
template<typename T, typename ...Args>
std::shared_ptr<T> add_process(Args&&... args)

construct and register a process with a given type

ProcessPtr register_process(ProcessPtr process)
void connect(const PortPtr &a, const PortPtr &b)
inline const std::vector<ProcessPtr> &get_processes() const
inline const std::map<PortPtr, PortPtr> &get_port_inputs() const

Protected Attributes

std::map<PortPtr, PortPtr> port_inputs