|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
12 #ifndef YARP_LITTLE_ENDIAN
18 std::uint64_t NetUint64::swap(std::uint64_t x)
const
20 UnionNetUint64 in, out;
22 for (
int i = 0; i < 8; i++) {
23 out.c[i] = in.c[7 - i];
27 RawNetUint64 NetUint64::get()
const
29 return (RawNetUint64)swap((RawNetUint64)raw_value);
31 void NetUint64::set(RawNetUint64 v)
33 raw_value = (RawNetUint64)swap((RawNetUint64)v);
42 NetUint64::operator RawNetUint64()
const
78 #endif // YARP_LITTLE_ENDIAN
std::uint64_t NetUint64
Definition of the NetInt64 type.
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).
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).