![]() |
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 <modbus_primitives.hpp>
Classes | |
union | prim_union |
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 | |
template<typename T > | |
BigEndianPrimativeByWord & | operator= (T other) |
Public Attributes | |
union roship_io::primitives::BigEndianPrimativeByWord::prim_union | 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 |
|
inline |
union roship_io::primitives::BigEndianPrimativeByWord::prim_union roship_io::primitives::BigEndianPrimativeByWord< PrimT >::raw |