17 return asPort().open(contact, registerName);
22 return asPort().addOutput(name);
26 const std::string& carrier)
28 return asPort().addOutput(name, carrier);
33 return asPort().addOutput(contact);
53 return asPort().where();
58 return asPort().getName();
63 return asPort().setEnvelope(envelope);
68 return asPort().getEnvelope(envelope);
73 return asPort().getInputCount();
78 return asPort().getOutputCount();
83 asPort().getReport(reporter);
88 asPort().setReporter(reporter);
93 asPort().resetReporter();
98 return asPort().isWriting();
103 asPort().setReader(reader);
108 asPort().setAdminReader(reader);
113 asPort().setInputMode(expectInput);
118 asPort().setOutputMode(expectOutput);
123 asPort().setRpcMode(expectRpc);
128 return asPort().getType();
133 asPort().promiseType(typ);
138 return asPort().acquireProperties(readOnly);
143 asPort().releaseProperties(prop);
149 return asPort().write(writer, callback);
156 return asPort().write(writer, reader, callback);
162 return asPort().read(reader, willReply);
167 return asPort().reply(writer);
172 return asPort().replyAndDrop(writer);
177 asPort().includeNodeInName(flag);
180 #ifndef YARP_NO_DEPRECATED
185 return asPort().setCallbackLock(mutex);
192 return asPort().setCallbackLock(mutex);
197 return asPort().removeCallbackLock();
202 return asPort().lockCallback();
207 return asPort().tryLockCallback();
212 asPort().unlockCallback();
Basic wrapper for mutual exclusion.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
A base class for objects that want information about port status changes.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
A class for storing options and configuration information.
#define YARP_WARNING_POP
Ends a temporary alteration of the enabled warnings.
#define YARP_WARNING_PUSH
Starts a temporary alteration of the enabled warnings.
#define YARP_DISABLE_DEPRECATED_WARNING
Disable deprecated warnings in the following code.