|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_NETUINT16_H
11 #define YARP_OS_NETUINT16_H
31 #ifdef YARP_LITTLE_ENDIAN
35 #else // YARP_LITTLE_ENDIAN
40 std::uint16_t raw_value;
41 std::uint16_t swap(std::uint16_t x)
const;
42 std::uint16_t get()
const;
43 void set(std::uint16_t v);
48 operator std::uint16_t()
const;
49 std::uint16_t
operator+(std::uint16_t v)
const;
50 std::uint16_t
operator-(std::uint16_t v)
const;
51 std::uint16_t
operator*(std::uint16_t v)
const;
52 std::uint16_t
operator/(std::uint16_t v)
const;
61 #endif // YARP_LITTLE_ENDIAN
66 #endif // YARP_OS_NETUINT16_H
Vector & operator*=(Vector &a, double k)
Vector-scalar product operator (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/(const Vector &a, const Vector &b)
Vector-vector element-wise division operator (defined in Math.h).
Vector operator+(const Vector &a, const double &s)
Mathematical operations.
Vector & operator/=(Vector &a, const Vector &b)
Vector-vector element-wise division operator (defined in Math.h).
Vector operator*(double k, const Vector &b)
Scalar-vector product operator (defined in Math.h).
std::uint16_t NetUint16
Definition of the NetUint16 type.
Vector & operator-=(Vector &a, const double &s)
Subtraction operator between a vector and a scalar (defined in Math.h).
The main, catch-all namespace for YARP.
Vector operator-(const Vector &a, const double &s)
Subtraction operator between a vector and a scalar (defined in Math.h).