|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
25 get_mode = get_is_vocab =
false;
31 writer(reader.getWriter())
57 return obj.
write(*
this);
62 return obj.
write(writer);
67 return obj.
write(writer);
72 return obj.
write(writer);
152 if (ch ==
'\0' || ch ==
'_') {
153 if (bit.length() <= 4) {
178 writer.
appendInt32(
static_cast<int>(tag.length()));
virtual void appendFloat32(yarp::conf::float32_t data)=0
Send a representation of a 32-bit floating point number to the network connection.
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
virtual void appendBlock(const char *data, size_t len)=0
Send a block of data to the network connection.
virtual bool isNull() const
bool writeFloat64(yarp::conf::float64_t x) const
bool writeOnewayResponse() const
virtual void appendFloat64(yarp::conf::float64_t data)=0
Send a representation of a 64-bit floating point number to the network connection.
bool writeI8(std::int8_t x) const
virtual void appendInt8(std::int8_t data)=0
Send a representation of a 8-bit integer to the network connection.
#define BOTTLE_TAG_STRING
bool writeMapBegin(int tag, int tag2, std::uint32_t len) const
WireWriter(ConnectionWriter &writer)
bool writeString(const std::string &tag) const
bool writeBool(bool x) const
const std::string & getString() const
bool writeI32(std::int32_t x) const
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
bool writeListHeader(int len) const
bool writeNested(const WirePortable &obj) const
virtual bool isError() const =0
#define BOTTLE_TAG_FLOAT32
bool writeI16(std::int16_t x) const
bool writeSetBegin(int tag, std::uint32_t len) const
An interface for writing to a network connection.
NetInt32 encode(const std::string &str)
Convert a string into a vocabulary identifier.
bool write(const WirePortable &obj) const
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
bool writeBinary(const std::string &tag) const
virtual bool write(ConnectionWriter &writer) const =0
Write this object to a network connection.
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
bool writeTag(const char *tag, int split, int len) const
bool writeFloat32(yarp::conf::float32_t x) const
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
IDL-friendly connection reader.
virtual void appendInt64(std::int64_t data)=0
Send a representation of a 64-bit integer to the network connection.
#define BOTTLE_TAG_FLOAT64
bool writeVocab(std::int32_t x) const
bool writeListBegin(int tag, std::uint32_t len) const
An interface to the operating system, including Port based communication.
virtual void appendString(const char *str, const char terminate='\n') final
Send a character sequence to the network connection.
bool writeListEnd() const
bool writeI64(std::int64_t x) const
constexpr yarp::conf::vocab32_t VOCAB_IS
virtual void appendInt16(std::int16_t data)=0
Send a representation of a 16-bit integer to the network connection.
constexpr yarp::conf::vocab32_t VOCAB_OK
virtual bool isValid() const =0
virtual bool write(const yarp::os::idl::WireWriter &writer) const