39 #ifndef ORO_EXECUTION_PORT_INTERFACE_HPP 40 #define ORO_EXECUTION_PORT_INTERFACE_HPP 43 #include "../internal/rtt-internal-fwd.hpp" 44 #include "../ConnPolicy.hpp" 45 #include "../internal/ConnectionManager.hpp" 46 #include "../internal/ConnID.hpp" 48 #include "../types/rtt-types-fwd.hpp" 49 #include "../rtt-fwd.hpp" 79 const std::string&
getName()
const {
return name; }
87 bool setName(
const std::string& name);
104 virtual bool connected()
const = 0;
113 virtual void disconnect() = 0;
124 virtual bool isLocal()
const;
129 virtual int serverProtocol()
const;
152 virtual Service* createPortObject();
178 virtual bool createStream(
ConnPolicy const& policy) = 0;
The Interface of a TaskContext which exposes its data-flow ports.
boost::intrusive_ptr< SharedConnectionBase > shared_ptr
const std::string & getName() const
Get the name of this Port.
Manages connections between ports.
A connection policy object describes how a given connection should behave.
This class allows storage and retrieval of operations, ports, attributes and properties provided by a...
virtual internal::ConnectionManager * getManager()
Returns the connection manager of this port (if any).
const std::string & getDescription() const
Get the documentation of this port.
A class for representing a user type, and which can build instances of that type. ...
boost::intrusive_ptr< ChannelElementBase > shared_ptr
internal::ConnectionManager cmanager
DataFlowInterface * iface
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.
In the data flow implementation, a channel is created by chaining ChannelElementBase objects...
The base class of every data flow port.