![]() |
template_pkg
1.0.0
A template ROS2 Package
|
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 <primitives.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 roship_io::primitives::BigEndianPrimative< PrimT >::raw |