|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
22 if (header.
length() == 8) {
23 std::string target =
"ohbehave";
24 for (
int i = 0; i < 8; i++) {
25 header.
get()[i] = target[i];
bool modifiesReply() const override
Check if this carrier modifies outgoing data through the Carrier::modifyReply method.
bool modifiesOutgoingData() const override
Check if this carrier modifies outgoing data through the Carrier::modifyOutgoingData method.
void getCarrierParams(yarp::os::Property ¶ms) const override
Get carrier configuration and deliver it by port administrative commands.
bool modifiesIncomingData() const override
Check if this carrier modifies incoming data through the Carrier::modifyIncomingData method.
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...
A simple abstraction for a block of bytes.
The basic state of a connection - route, streams in use, etc.
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...
bool configureFromProperty(yarp::os::Property &prop) override
An interface to the operating system, including Port based communication.
void setCarrierParams(const yarp::os::Property ¶ms) override
Configure carrier from port administrative commands.
bool respondToHeader(yarp::os::ConnectionState &proto) override
Respond to the header.
A class for storing options and configuration information.