![]() |
template_pkg
1.0.0
A template ROS2 Package
|
Classes | |
struct | BigEndianPrimative |
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... | |
struct | BigEndianPrimativeByWord |
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... | |
Typedefs | |
typedef word * | WordBuffer |
typedef BigEndianPrimativeByWord< u32 > | BE_WORD_u32 |
typedef BigEndianPrimativeByWord< s8 > | BE_WORD_s8 |
typedef BigEndianPrimativeByWord< s16 > | BE_WORD_s16 |
typedef BigEndianPrimativeByWord< s32 > | BE_WORD_s32 |
typedef BigEndianPrimativeByWord< f32 > | BE_WORD_f32 |
typedef BigEndianPrimativeByWord< f64 > | BE_WORD_f64 |
using | byte = uint8_t |
this covers the ROSmessage definition of a byte | |
using | word = uint16_t |
typedef uint8_t | u8 |
typedef uint16_t | u16 |
typedef uint32_t | u32 |
typedef int8_t | s8 |
typedef int16_t | s16 |
typedef int32_t | s32 |
typedef float | f32 |
typedef double | f64 |
typedef BigEndianPrimative< u8 > | BE_u8 |
typedef BigEndianPrimative< u16 > | BE_u16 |
typedef BigEndianPrimative< u32 > | BE_u32 |
typedef BigEndianPrimative< s8 > | BE_s8 |
typedef BigEndianPrimative< s16 > | BE_s16 |
typedef BigEndianPrimative< s32 > | BE_s32 |
typedef BigEndianPrimative< f32 > | BE_f32 |
typedef BigEndianPrimative< f64 > | BE_f64 |
Functions | |
template<typename T > | |
T | revPrimitive (const T u) |
using roship_io::primitives::byte = uint8_t |
this covers the ROSmessage definition of a byte
typedef float roship_io::primitives::f32 |
typedef double roship_io::primitives::f64 |
typedef int16_t roship_io::primitives::s16 |
typedef int32_t roship_io::primitives::s32 |
typedef int8_t roship_io::primitives::s8 |
typedef uint16_t roship_io::primitives::u16 |
typedef uint32_t roship_io::primitives::u32 |
typedef uint8_t roship_io::primitives::u8 |
using roship_io::primitives::word = uint16_t |
typedef word* roship_io::primitives::WordBuffer |
T roship_io::primitives::revPrimitive | ( | const T | u | ) |