7 #ifndef YARP_OS_INPUTSTREAM_H
8 #define YARP_OS_INPUTSTREAM_H
91 virtual void interrupt();
98 virtual bool isOk()
const = 0;
104 virtual bool setReadTimeout(
double timeout);
109 std::string readLine(
const char terminal =
'\n',
bool* success =
nullptr);
136 virtual bool setReadEnvelopeCallback(readEnvelopeCallbackType callback,
void* data);
A simple abstraction for a block of bytes.
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
The main, catch-all namespace for YARP.