9#ifndef YARP_LITTLE_ENDIAN
15std::uint16_t NetInt16::swap(std::uint16_t x)
const
17 return (x >> 8) | ((x << 8) & 0xff00);
20std::int16_t NetInt16::get()
const
25void NetInt16::set(std::int16_t v)
27 raw_value = (std::int16_t)swap((std::uint16_t)v);
34NetInt16::NetInt16(std::int16_t val)
39NetInt16::operator std::int16_t()
const
44std::int16_t NetInt16::operator+(std::int16_t v)
const
49std::int16_t NetInt16::operator-(std::int16_t v)
const
54std::int16_t NetInt16::operator*(std::int16_t v)
const
59std::int16_t NetInt16::operator/(std::int16_t v)
const
64void NetInt16::operator+=(std::int16_t v)
69void NetInt16::operator-=(std::int16_t v)
74void NetInt16::operator*=(std::int16_t v)
79void NetInt16::operator/=(std::int16_t v)
84void NetInt16::operator++(
int)
89void NetInt16::operator--(
int)
A mini-server for performing network communication in the background.
An interface to the operating system, including Port based communication.
The main, catch-all namespace for YARP.