Class Port
Defined in File Port.h
Inheritance Relationships
Derived Types
public DataPort
(Class DataPort)public SignalPort
(Class SignalPort)
Class Documentation
-
class Port
Component’s port abstraction class. The Port means to be used as a local Component’s variable, which allows to interface with another Component. The controlled Component exposes a Connector, which shall be stored in the Port.
Subclassed by DataPort, SignalPort
Public Functions
-
Port() = default
-
virtual ~Port() = default
-
virtual void connect(std::weak_ptr<Connector> connector) = 0
Attach a Connector to the port.
- Parameters
connector – Connector to be connected.
-
Port() = default