7#ifndef YARP_OS_NETUINT16_H
8#define YARP_OS_NETUINT16_H
27#ifdef YARP_LITTLE_ENDIAN
37 std::uint16_t swap(std::uint16_t x)
const;
38 std::uint16_t get()
const;
39 void set(std::uint16_t v);
44 operator std::uint16_t()
const;
45 std::uint16_t
operator+(std::uint16_t v)
const;
46 std::uint16_t
operator-(std::uint16_t v)
const;
47 std::uint16_t
operator*(std::uint16_t v)
const;
48 std::uint16_t
operator/(std::uint16_t v)
const;
A mini-server for performing network communication in the background.
Vector operator+(const Vector &a, const double &s)
Mathematical operations.
Vector operator-(const Vector &a, const double &s)
Subtraction operator between a vector and a scalar (defined in Math.h).
Vector operator*(double k, const Vector &b)
Scalar-vector product operator (defined in Math.h).
Vector & operator-=(Vector &a, const double &s)
Subtraction operator between a vector and a scalar (defined in Math.h).
Vector & operator+=(Vector &a, const double &s)
Addition operator between a scalar and a vector (defined in Math.h).
Vector & operator/=(Vector &a, const Vector &b)
Vector-vector element-wise division operator (defined in Math.h).
Vector operator/(const Vector &a, const Vector &b)
Vector-vector element-wise division operator (defined in Math.h).
Vector & operator*=(Vector &a, double k)
Vector-scalar product operator (defined in Math.h).
An interface to the operating system, including Port based communication.
std::uint16_t NetUint16
Definition of the NetUint16 type.