25 style.
carrier = contact.getCarrier();
37 m_link(remotePort, style)
48PortCoreClient::AdminPortLink::AdminPortLink(
const Contact& remotePort,
const ContactStyle& style) :
49 m_contact(remotePort),
68 if (writer !=
nullptr) {
A simple collection of objects that can be described and transmitted in a portable way.
bool read(ConnectionReader &reader) override
Set the bottle's value based on input from a network connection.
bool write(ConnectionWriter &writer) const override
Output a representation of the bottle to a network connection.
A mini-server for performing network communication in the background.
std::string getName() const override
Get name of port.
An interface for reading from a network connection.
virtual ConnectionWriter * getWriter()=0
Gets a way to reply to the message, if possible.
An interface for writing to a network connection.
static bool write(const Contact &contact, PortWriter &cmd, PortReader &reply, bool admin=false, bool quiet=false, double timeout=-1)
Send a single command to a port and await a single response.
bool attachAsClient(yarp::os::UnbufferedContactable &port)
Tag this WireLink as a client, sending data via the specified port.
yarp::os::WireLink & yarp()
Get YARP state associated with this object.
Client side of the administrative commands defined in PortCoreMsgs.thrift and handled by PortCore::ad...
PortCoreClient(const std::string &remoteportName, double timeout=2.0)
#define yCError(component,...)
#define YARP_OS_LOG_COMPONENT(name, name_string)
The components from which ports and connections are built.
An interface to the operating system, including Port based communication.