7#ifndef YARP_OS_IMPL_STREAMCONNECTIONREADER_H
8#define YARP_OS_IMPL_STREAMCONNECTIONREADER_H
28class BufferedConnectionWriter;
43 void setProtocol(
Protocol* protocol);
48#ifndef YARP_NO_DEPRECATED
50 virtual std::string expectString(
int len);
52 virtual std::string expectLine();
56 bool setSize(
size_t len)
override;
57 size_t getSize()
const override;
58 bool pushInt(
int x)
override;
59 std::int8_t expectInt8()
override;
60 std::int16_t expectInt16()
override;
61 std::int32_t expectInt32()
override;
62 std::int64_t expectInt64()
override;
65 bool expectBlock(
char* data,
size_t len)
override;
66 std::string expectText(
const char terminatingChar)
override;
67 bool isTextMode()
const override;
68 bool isBareMode()
const override;
69 bool convertTextMode()
override;
74 bool isError()
const override;
75 bool isActive()
const override;
78 void requestDrop()
override;
80 void setParentConnectionReader(
ConnectionReader* parentConnectionReader)
override;
81 void flushWriter()
override;
86 template <
typename T,
typename NetT>
104 bool convertedTextMode;
A simple collection of objects that can be described and transmitted in a portable way.
A simple abstraction for a block of bytes.
An interface for reading from a network connection.
virtual std::string expectString()
Read a string from the network connection.
An interface for writing to a network connection.
This is a base class for objects that can be both read from and be written to the YARP network.
Information about a connection between two ports.
A base class for nested structures that can be searched.
A stream which can be asked to perform bidirectional communication.
A helper for creating cached object descriptions.
Connection choreographer.
Lets Readable objects read from the underlying InputStream associated with the connection between two...
bool isValid()
Check if time is valid (non-zero).
The components from which ports and connections are built.