|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
12 #ifndef YARP_LITTLE_ENDIAN
18 std::uint32_t NetUint32::swap(std::uint32_t x)
const
20 return (x >> 24) | ((x >> 8) & 0xff00) | ((x << 8) & 0xff0000) | (x << 24);
23 std::uint32_t NetUint32::get()
const
25 return (std::uint32_t)swap(raw_value);
28 void NetUint32::set(std::uint32_t v)
30 raw_value = (std::uint32_t)swap((std::uint32_t)v);
42 NetUint32::operator std::uint32_t()
const
87 void NetUint32::operator++(
int)
92 void NetUint32::operator--(
int)
98 #endif // YARP_LITTLE_ENDIAN
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).
std::uint32_t NetUint32
Definition of the NetUint32 type.
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).
An interface to the operating system, including Port based communication.
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).