40 #include "../Service.hpp" 41 #include "../OperationCaller.hpp" 42 #include "../internal/ConnFactory.hpp" 49 : name(name), iface(0) {}
80 "Returns the port name.");
The Interface of a TaskContext which exposes its data-flow ports.
virtual bool isLocal() const
Returns true if this port is located on this process, and false otherwise.
PortInterface(const std::string &name)
const std::string & getName() const
Get the name of this Port.
DataFlowInterface * getInterface() const
Returns the DataFlowInterface this port belongs to or null if it was not added to such an interface...
This class allows storage and retrieval of operations, ports, attributes and properties provided by a...
Represents a local connection created by the ConnFactory.
virtual void disconnect()=0
Removes any connection that either go to or come from this port.
Convenient short notation for every sub-namespace of RTT.
Operation< Signature > & addSynchronousOperation(Operation< Signature > &op)
Add an operation object to the interface.
virtual Service * createPortObject()
Create accessor Object for this Port, for addition to a TaskContext Object interface.
bool setName(const std::string &name)
Change the name of this unconnected Port.
virtual int serverProtocol() const
Returns the protocol over which this port can be accessed.
bool setPortDescription(const std::string &name, const std::string description)
Sets the description for the service of an added port.
void setInterface(DataFlowInterface *iface)
Once a port is added to a DataFlowInterface, it gets a pointer to that interface. ...
DataFlowInterface * iface
virtual internal::ConnID * getPortID() const
Returns the identity of this port in a ConnID object.
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.
PortInterface & doc(const std::string &desc)
Set the documentation of this port.
virtual bool connected() const =0
Returns true if this port is connected.
The base class of every data flow port.
TaskContext * getOwner() const
Returns the component this interface belongs to.