|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_SHMEM_SHMEMCARRIER_H
11 #define YARP_SHMEM_SHMEMCARRIER_H
25 Carrier*
create()
const override;
27 std::string
getName()
const override;
43 #endif // YARP_SHMEM_SHMEMCARRIER_H
bool requireAck() const override
Check if carrier has flow control, requiring sent messages to be acknowledged by recipient.
virtual int getSpecifierCode() const
A starter class for implementing simple carriers.
bool isConnectionless() const override
Check if this carrier is connectionless (like udp, mcast) or connection based (like tcp).
Communicating between two ports via shared memory.
A simple abstraction for a block of bytes.
The basic state of a connection - route, streams in use, etc.
bool respondToHeader(yarp::os::ConnectionState &proto) override
Respond to the header.
void getHeader(yarp::os::Bytes &header) const override
Provide 8 bytes describing this connection sufficiently to allow the other side of a connection to se...
Carrier * create() const override
Factory method.
bool expectReplyToHeader(yarp::os::ConnectionState &proto) override
Process reply to header, if one is expected for this carrier.
std::string getName() const override
Get the name of this connection type ("tcp", "mcast", "shmem", ...)
void setParameters(const yarp::os::Bytes &header) override
Configure this carrier based on the first 8 bytes of the connection.
bool checkHeader(const yarp::os::Bytes &header) override
Given the first 8 bytes received on a connection, decide if this is the right carrier type to use for...