|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
119 for (
size_t i = 0; i < header.
length(); i++) {
120 header.
get()[i] =
'\0';
bool modifiesIncomingData() const override
Check if this carrier modifies incoming data through the Carrier::modifyIncomingData method.
void handleEnvelope(const std::string &envelope) override
Carriers that do not distinguish data from administrative headers (i.e.
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...
bool isBroadcast() const override
Check if this carrier uses a broadcast mechanism.
bool isValid()
Check if time is valid (non-zero).
bool modifiesOutgoingData() const override
Check if this carrier modifies outgoing data through the Carrier::modifyOutgoingData method.
bool isConnectionless() const override
Check if this carrier is connectionless (like udp, mcast) or connection based (like tcp).
bool acceptIncomingData(yarp::os::ConnectionReader &reader) override
Determine whether incoming data should be accepted.
yarp::os::ConnectionReader & modifyIncomingData(yarp::os::ConnectionReader &reader) override
Modify incoming payload data, if appropriate.
bool supportReply() const override
This flag is used by YARP to determine whether the connection can carry RPC traffic,...
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
void setCarrierParams(const yarp::os::Property ¶ms) override
Configure carrier from port administrative commands.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
std::string getName() const override
Get the name of this connection type ("tcp", "mcast", "shmem", ...)
bool isActive() const override
Check if carrier is alive and error free.
bool isPush() const override
Check if carrier is "push" or "pull" style.
A simple abstraction for a block of bytes.
An interface for reading from a network connection.
bool requireAck() const override
Check if carrier has flow control, requiring sent messages to be acknowledged by recipient.
bool modifiesReply() const override
Check if this carrier modifies outgoing data through the Carrier::modifyReply method.
bool canEscape() const override
Check if carrier can encode administrative messages, as opposed to just user data.
void getCarrierParams(yarp::os::Property ¶ms) const override
Get carrier configuration and deliver it by port administrative commands.
bool isTextMode() const override
Check if carrier is textual in nature.
bool isLocal() const override
Check if carrier operates within a single process.
A class for storing options and configuration information.
PortReader & modifyReply(PortReader &reader) override
Modify reply payload data, if appropriate.
void prepareDisconnect() override
Do cleanup and preparation for the coming disconnect, if necessary.
bool acceptOutgoingData(const PortWriter &writer) override
Determine whether outgoing data should be accepted.
const PortWriter & modifyOutgoingData(const PortWriter &writer) override
Modify outgoing payload data, if appropriate.