Forward PortOut classes used by getLink and reflect. More...
#include <Dataflow/Core/PortOut.hpp>
Public Types | |
using | DataType = T |
Public Member Functions | |
T & | data () |
Gets a reference to the data this ports points to. | |
void | set_data (T *data) |
bool | has_data () override |
Returns true if the pointer to the data is not null. | |
Constructors | |
delete default constructors. | |
PortOut (const PortOut &)=delete | |
PortOut & | operator= (const PortOut &)=delete |
PortOut (Node *node, const std::string &name) | |
PortOut (Node *node, T *data, const std::string &name) | |
Forward PortOut classes used by getLink and reflect.
Output port delivering data of Type T. Output port stores a non-owning pointer to the data that will be made available on a connection.
T | The type of the delivered data. |
Definition at line 72 of file PortOut.hpp.
using Ra::Dataflow::Core::PortOut< T >::DataType = T |
Definition at line 75 of file PortOut.hpp.
|
inline |
Constructor.
name | The name of the port. |
node | The pointer to the node associated with the port. |
Definition at line 87 of file PortOut.hpp.
|
inline |
Definition at line 91 of file PortOut.hpp.
|
inline |
Gets a reference to the data this ports points to.
Definition at line 98 of file PortOut.hpp.
|
inlineoverridevirtual |
Returns true if the pointer to the data is not null.
Implements Ra::Dataflow::Core::PortBase.
Definition at line 103 of file PortOut.hpp.
|
inline |
Takes a pointer to the data this port will point to.
data | The pointer to the data. |
Definition at line 101 of file PortOut.hpp.