ROS2Sonic  0.2.0
A ROS2 driver for R2Sonic MBES
Loading...
Searching...
No Matches
primatives.hpp File Reference
#include "sections_defs.hpp"
#include <stddef.h>
#include <string.h>
#include <stdexcept>
Include dependency graph for primatives.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  r2sonic::primitives::BigEndianPrimative< PrimT >
 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...
 

Namespaces

namespace  r2sonic
 
namespace  r2sonic::primitives
 

Typedefs

typedef unsigned char r2sonic::primitives::u8
 
typedef unsigned short r2sonic::primitives::u16
 
typedef unsigned int r2sonic::primitives::u32
 
typedef signed char r2sonic::primitives::s8
 
typedef signed short r2sonic::primitives::s16
 
typedef signed int r2sonic::primitives::s32
 
typedef float r2sonic::primitives::f32
 
typedef double r2sonic::primitives::f64
 
typedef BigEndianPrimative< u8r2sonic::primitives::BE_u8
 
typedef BigEndianPrimative< u16r2sonic::primitives::BE_u16
 
typedef BigEndianPrimative< u32r2sonic::primitives::BE_u32
 
typedef BigEndianPrimative< s8r2sonic::primitives::BE_s8
 
typedef BigEndianPrimative< s16r2sonic::primitives::BE_s16
 
typedef BigEndianPrimative< s32r2sonic::primitives::BE_s32
 
typedef BigEndianPrimative< f32r2sonic::primitives::BE_f32
 
typedef BigEndianPrimative< f64r2sonic::primitives::BE_f64
 

Functions

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