10 #ifndef YARP_OS_RPCSERVER_H
11 #define YARP_OS_RPCSERVER_H
43 const PortWriter* callback =
nullptr)
const override;
50 const PortWriter* callback =
nullptr)
const override;
55 void setInputMode(
bool expectInput)
override;
56 void setOutputMode(
bool expectOutput)
override;
57 void setRpcMode(
bool expectRpc)
override;
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
A mini-server for network communication.
A port that is specialized as an RPC server.
const Port & asPort() const override
Get the concrete Port being used for communication, const version.
Port & asPort() override
Get the concrete Port being used for 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)
The main, catch-all namespace for YARP.