|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_OUTPUTPROTOCOL_H
11 #define YARP_OS_OUTPUTPROTOCOL_H
64 virtual bool isOk()
const = 0;
137 #endif // YARP_OS_OUTPUTPROTOCOL_H
virtual void interrupt()=0
The output side of an active connection between two ports.
virtual OutputStream & getOutputStream()=0
Access the output stream associated with the connection.
Simple specification of the minimum functions needed from output streams.
virtual const Route & getRoute() const =0
virtual InputProtocol & getInput()=0
Get an interface for doing read operations on the connection.
Information about a connection between two ports.
virtual InputStream & getInputStream()=0
Access the input stream associated with the connection.
virtual Connection & getSender()=0
It is possible to chain a basic connection with a modifier.
virtual Connection & getReceiver()=0
It is possible to chain a basic connection with a modifier.
virtual bool open(const Route &route)=0
Start negotiating a carrier, using the given route (this should generally match the name of the sendi...
virtual Connection & getConnection()=0
Get the connection whose protocol operations we are managing.
virtual void rename(const Route &route)=0
Relabel the route after the fact (e.g.
virtual void attachPort(Contactable *port)=0
Set the port to be associated with the connection.
virtual bool isOk() const =0
Check if the connection is valid and can be used.
virtual void close()=0
Negotiate an end to operations.
virtual bool setTimeout(double timeout)=0
Set the timeout to be used for network operations.
The main, catch-all namespace for YARP.
A controller for an individual connection.
virtual bool write(SizedWriter &writer)=0
Write a message on the connection.
virtual void beginWrite()=0
Notify connection that we intend to write to it.
Minimal requirements for an efficient Writer.
virtual ~OutputProtocol()=default
Destructor.