20 return asPort().open(contact, registerName);
25 return asPort().addOutput(name);
29 const std::string& carrier)
31 return asPort().addOutput(name, carrier);
36 return asPort().addOutput(contact);
56 return asPort().where();
61 return asPort().getName();
66 return asPort().setEnvelope(envelope);
71 return asPort().getEnvelope(envelope);
76 return asPort().getInputCount();
81 return asPort().getOutputCount();
86 asPort().getReport(reporter);
91 asPort().setReporter(reporter);
96 asPort().resetReporter();
101 return asPort().isWriting();
106 asPort().setReader(reader);
111 asPort().setAdminReader(reader);
116 asPort().setInputMode(expectInput);
121 asPort().setOutputMode(expectOutput);
126 asPort().setRpcMode(expectRpc);
131 return asPort().getType();
136 asPort().promiseType(typ);
141 return asPort().acquireProperties(readOnly);
146 asPort().releaseProperties(prop);
152 return asPort().write(writer, callback);
159 return asPort().write(writer, reader, callback);
165 return asPort().read(reader, willReply);
170 return asPort().reply(writer);
175 return asPort().replyAndDrop(writer);
180 asPort().includeNodeInName(flag);
183 #ifndef YARP_NO_DEPRECATED
188 return asPort().setCallbackLock(mutex);
195 return asPort().setCallbackLock(mutex);
200 return asPort().removeCallbackLock();
205 return asPort().lockCallback();
210 return asPort().tryLockCallback();
215 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.