39 #ifndef ORO_CONN_OUTPUT_ENDPOINT_HPP 40 #define ORO_CONN_OUTPUT_ENDPOINT_HPP 71 : port(port), cid(output_id)
116 #ifdef ORO_SIGNALLING_PORTS 117 if (port && port->new_data_on_port_event)
118 (*port->new_data_on_port_event)(port);
140 return std::string(
"ConnOutputEndpoint");
ConnOutputEndpoint(InputPort< T > *port, ConnID *output_id)
Creates the connection end that represents the output and attach it to the input. ...
boost::call_traits< T >::param_type param_t
virtual ConnID * getConnID() const
Gets the Connection ID of this channel.
virtual bool write(typename base::ChannelElement< T >::param_t sample)
Writes a new sample on this connection This should never be called, as all connections are supposed t...
This is a channel element that represents the output endpoint of a connection, i.e.
std::string getElementName() const
Returns the class name of this element.
virtual bool signal()
Signals that there is new data available on this channel By default, the channel element forwards the...
virtual base::PortInterface * getPort() const
Gets the port this channel element is connected to.
virtual bool data_sample(typename base::ChannelElement< T >::param_t sample)
virtual void disconnect(bool forward)
Performs a disconnection of this channel's endpoints.
virtual void disconnect(bool forward)
Performs a disconnection of this channel's endpoints.
A typed version of ChannelElementBase.
virtual bool inputReady()
This is called by an input port when it is ready to receive data.
This class is used in places where a permanent representation of a reference to a connection is neede...
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
The base class of every data flow port.
bool inputReady()
Called by the connection factory to check that the connection is properly set up. ...