63 bool open(
const std::string& name)
override;
66 bool open(
const Contact& contact,
bool registerName =
true)
override;
71 bool sharedOpen(
Port& port);
82 bool openFake(
const std::string& name);
85 bool addOutput(
const std::string& name)
override;
88 bool addOutput(
const std::string& name,
const std::string& carrier)
override;
91 bool addOutput(
const Contact& contact)
override;
94 void close()
override;
97 void interrupt()
override;
100 void resume()
override;
103 Contact where()
const override;
107 const PortWriter* callback =
nullptr)
const override;
112 const PortWriter* callback =
nullptr)
const override;
115 bool read(
PortReader& reader,
bool willReply =
false)
override;
121 bool replyAndDrop(
PortWriter& writer)
override;
127 void setAdminReader(
PortReader& reader)
override;
150 bool isWriting()
override;
153 bool setEnvelope(
PortWriter& envelope)
override;
156 bool getEnvelope(
PortReader& envelope)
override;
159 int getInputCount()
override;
162 int getOutputCount()
override;
171 void resetReporter()
override;
182 void setAdminMode(
bool adminMode =
true);
191 void setRpcMode(
bool expectRpc)
override;
203 bool setTimeout(
float timeout);
205#ifndef YARP_NO_DEPRECATED
212 YARP_DEPRECATED_MSG("Use LogComponent instead")
213 void setVerbosity(
int level);
226 Type getType()
override;
229 void promiseType(
const Type&
typ)
override;
235 void releaseProperties(
Property* prop)
override;
238 void includeNodeInName(
bool flag)
override;
246 bool setCallbackLock(std::mutex* mutex =
nullptr)
override;
249 bool removeCallbackLock()
override;
252 bool lockCallback()
override;
255 bool tryLockCallback()
override;
258 void unlockCallback()
override;
264 void* needImplementation()
const;
266 bool open(
const Contact& contact,
RandScalar * implementation(void *t)
A mini-server for performing network communication in the background.
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...
A mini-server for network communication.
A class for storing options and configuration information.
#define YARP_DEPRECATED
Expands to either the standard [[deprecated]] attribute or a compiler-specific decorator such as __at...
An interface to the operating system, including Port based communication.