ROS2Sonic
0.2.0
A ROS2 driver for R2Sonic MBES
|
The BigEndianPrimative struct represents a big endian version of various primitives. Also includes overloaded casting operators so it can be assigned to standard primatives with minimal extra syntax. More...
#include <primatives.hpp>
Public Member Functions | |
PrimT | get () const |
returns the machine-endian version of the variable in the specified (PrimT) type. | |
void | set (PrimT val) |
operator int8_t () const | |
operator int16_t () const | |
operator int32_t () const | |
operator uint8_t () const | |
operator uint16_t () const | |
operator uint32_t () const | |
operator float () const | |
operator double () const | |
Public Attributes | |
PrimT | raw |
The BigEndianPrimative struct represents a big endian version of various primitives. Also includes overloaded casting operators so it can be assigned to standard primatives with minimal extra syntax.
|
inline |
returns the machine-endian version of the variable in the specified (PrimT) type.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
PrimT r2sonic::primitives::BigEndianPrimative< PrimT >::raw |