Class Process

Inheritance Relationships

Derived Types

Class Documentation

class Process

abstract process, for referencing either an atomic or composite process

Subclassed by eat::framework::AtomicProcess, eat::framework::CompositeProcess

Public Functions

explicit Process(const std::string &name)
inline virtual ~Process()
template<typename T>
std::shared_ptr<T> add_in_port(const std::string &name)

construct and register a port with a given type and name

template<typename T>
std::shared_ptr<T> add_out_port(const std::string &name)

construct and register a port with a given type and name

template<typename T = Port>
std::shared_ptr<T> get_in_port(const std::string &name) const

get an input port with a given name and type; will throw if there is no port with the given name, or it is not castable to the right type

template<typename T = Port>
std::shared_ptr<T> get_out_port(const std::string &name) const

see get_in_port

std::map<std::string, PortPtr> get_port_map() const
inline const std::map<std::string, PortPtr> &get_in_port_map() const
inline const std::map<std::string, PortPtr> &get_out_port_map() const
inline const std::string &name() const