#include <conn_input_endpoint.hpp>
Public Member Functions | |
ConnInputEndpoint (ConnectionBasePtr port) | |
virtual void | disconnect (bool forward) |
virtual bool | inputReady () |
virtual FlowStatus | read (typename ChannelElement< T >::reference_t sample) |
~ConnInputEndpoint () | |
Private Attributes | |
ConnectionBasePtr | port |
This is a channel element that represents the input endpoint of a connection, i.e. the part that is connected to the OutputPort
Definition at line 13 of file conn_input_endpoint.hpp.
hpcl_rtt::ConnInputEndpoint< T >::ConnInputEndpoint | ( | ConnectionBasePtr | port | ) | [inline] |
Definition at line 18 of file conn_input_endpoint.hpp.
hpcl_rtt::ConnInputEndpoint< T >::~ConnInputEndpoint | ( | ) | [inline] |
Definition at line 20 of file conn_input_endpoint.hpp.
virtual void hpcl_rtt::ConnInputEndpoint< T >::disconnect | ( | bool | forward | ) | [inline, virtual] |
Performs a disconnection of this channel's endpoints. If forward is true, then the disconnection is initiated by the input endpoint. Otherwise, it has been initiated by the output endpoint.
Reimplemented from hpcl_rtt::ChannelElementBase.
Definition at line 38 of file conn_input_endpoint.hpp.
virtual bool hpcl_rtt::ConnInputEndpoint< T >::inputReady | ( | ) | [inline, virtual] |
This is called by an input port when it is ready to receive data. Each channel element has the responsibility to pass this notification on to the next, in the direction of the output.
Reimplemented from hpcl_rtt::ChannelElementBase.
Definition at line 33 of file conn_input_endpoint.hpp.
virtual FlowStatus hpcl_rtt::ConnInputEndpoint< T >::read | ( | typename ChannelElement< T >::reference_t | sample | ) | [inline, virtual] |
Reads a new sample from this connection This should never be called, as all connections are supposed to have a data storage element
Definition at line 30 of file conn_input_endpoint.hpp.
ConnectionBasePtr hpcl_rtt::ConnInputEndpoint< T >::port [private] |
Definition at line 15 of file conn_input_endpoint.hpp.