Base class implementing a port in the computational graph. More...
#include <port.h>
Public Member Functions | |
Port ()=delete | |
virtual | ~Port ()=default |
Port (std::string id, ComputationalNode *parent) | |
Constructor. More... | |
const std::string & | id () |
Returns the port 'id'. More... | |
ComputationalNode * | parent () const |
Returns the port parent node. More... | |
virtual size_t | subscriptionsSize ()=0 |
Return the number of subscriptions of this port. More... | |
Base class implementing a port in the computational graph.
|
delete |
|
virtualdefault |
|
inline |
Constructor.
|
inline |
Returns the port 'id'.
|
inline |
Returns the port parent node.
|
pure virtual |
Return the number of subscriptions of this port.
This is the number of ports this port is subscribed to in the case of input ports or the number of ports subscribed to this port in the case of output ports
Implemented in InputPort< T_IN, T_OUT >, and OutputPort< T >.