ROS2Sonic  0.2.0
A ROS2 driver for R2Sonic MBES
Loading...
Searching...
No Matches
r2sonic::primitives Namespace Reference

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...
 

Typedefs

typedef unsigned char u8
 
typedef unsigned short u16
 
typedef unsigned int u32
 
typedef signed char s8
 
typedef signed short s16
 
typedef signed int s32
 
typedef float f32
 
typedef double f64
 
typedef BigEndianPrimative< u8BE_u8
 
typedef BigEndianPrimative< u16BE_u16
 
typedef BigEndianPrimative< u32BE_u32
 
typedef BigEndianPrimative< s8BE_s8
 
typedef BigEndianPrimative< s16BE_s16
 
typedef BigEndianPrimative< s32BE_s32
 
typedef BigEndianPrimative< f32BE_f32
 
typedef BigEndianPrimative< f64BE_f64
 

Functions

template<typename T >
revPrimitive (const T u)
 

Typedef Documentation

◆ BE_f32

◆ BE_f64

◆ BE_s16

◆ BE_s32

◆ BE_s8

◆ BE_u16

◆ BE_u32

◆ BE_u8

◆ f32

typedef float r2sonic::primitives::f32

◆ f64

typedef double r2sonic::primitives::f64

◆ s16

typedef signed short r2sonic::primitives::s16

◆ s32

typedef signed int r2sonic::primitives::s32

◆ s8

typedef signed char r2sonic::primitives::s8

◆ u16

typedef unsigned short r2sonic::primitives::u16

◆ u32

typedef unsigned int r2sonic::primitives::u32

◆ u8

typedef unsigned char r2sonic::primitives::u8

Function Documentation

◆ revPrimitive()

template<typename T >
T r2sonic::primitives::revPrimitive ( const T u)