 |
YARP
Yet Another Robot Platform
|
|
bool isBroadcast() const override
Check if this carrier uses a broadcast mechanism.
bool modifiesOutgoingData() const override
Check if this carrier modifies outgoing data through the Carrier::modifyOutgoingData method.
virtual ~Carrier()
Destructor.
const PortWriter & modifyOutgoingData(const PortWriter &writer) override
Modify outgoing payload data, if appropriate.
virtual bool configureFromProperty(yarp::os::Property &options)
bool isPush() const override
Check if carrier is "push" or "pull" style.
bool acceptOutgoingData(const PortWriter &writer) override
Determine whether outgoing data should be accepted.
void prepareDisconnect() override
Do cleanup and preparation for the coming disconnect, if necessary.
void setCarrierParams(const Property ¶ms) override
Configure carrier from port administrative commands.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
bool modifiesReply() const override
Check if this carrier modifies outgoing data through the Carrier::modifyReply method.
Communicating with a port via TCP.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
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.
ConnectionReader & modifyIncomingData(ConnectionReader &reader) override
Modify incoming payload data, if appropriate.
bool acceptIncomingData(ConnectionReader &reader) override
Determine whether incoming data should be accepted.
virtual void close()
Close the carrier.
virtual std::string getBootstrapCarrierName() const
Get the name of the carrier that should be used prior to handshaking, if a port is registered with th...
virtual yarp::os::Face * createFace() const
Create new Face object that the carrier needs.
An interface for reading from a network connection.
virtual bool configure(ConnectionState &proto)
Give carrier a shot at looking at how the connection is set up.
The basic state of a connection - route, streams in use, etc.
An interface to the operating system, including Port based communication.
void getCarrierParams(Property ¶ms) const override
Get carrier configuration and deliver it by port administrative commands.
virtual int connect(const Contact &src, const Contact &dest, const ContactStyle &style, int mode, bool reversed)
Some carrier types may require special connection logic.
PortReader & modifyReply(PortReader &reader) override
Modify reply payload data, if appropriate.
The initial point-of-contact with a port.
A class for storing options and configuration information.