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;
121 bool replyAndDrop(
PortWriter& writer)
override;
127 void setAdminReader(
PortReader& reader)
override;
146 void enableBackgroundWrite(
bool backgroundFlag);
150 bool isWriting()
override;
153 bool setEnvelope(
PortWriter& envelope)
override;
156 bool getEnvelope(
PortReader& envelope)
override;
159 int getInputCount()
override;
162 int getOutputCount()
override;
165 void getReport(
PortReport& reporter)
override;
168 void setReporter(
PortReport& reporter)
override;
171 void resetReporter()
override;
182 void setAdminMode(
bool adminMode =
true);
185 void setInputMode(
bool expectInput)
override;
188 void setOutputMode(
bool expectOutput)
override;
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;
232 Property* acquireProperties(
bool readOnly)
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,
268 const char* fakeName);
RandScalar * implementation(void *t)
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.
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)