Public Member Functions | Private Attributes | List of all members
PJ::MessageRef Class Reference

#include <messageparser_base.h>

Public Member Functions

uint8_t * data ()
 
const uint8_t * data () const
 
 MessageRef (const int8_t *first_ptr, size_t size)
 
 MessageRef (const std::byte *first_ptr, size_t size)
 
template<typename T >
 MessageRef (const std::vector< T > &vect)
 
 MessageRef (const uint8_t *first_ptr, size_t size)
 
size_t size () const
 

Private Attributes

const uint8_t * _ptr = nullptr
 
size_t _size = 0
 

Detailed Description

Definition at line 28 of file messageparser_base.h.

Constructor & Destructor Documentation

◆ MessageRef() [1/4]

PJ::MessageRef::MessageRef ( const uint8_t *  first_ptr,
size_t  size 
)
inlineexplicit

Definition at line 31 of file messageparser_base.h.

◆ MessageRef() [2/4]

PJ::MessageRef::MessageRef ( const std::byte *  first_ptr,
size_t  size 
)
inlineexplicit

Definition at line 36 of file messageparser_base.h.

◆ MessageRef() [3/4]

PJ::MessageRef::MessageRef ( const int8_t *  first_ptr,
size_t  size 
)
inlineexplicit

Definition at line 41 of file messageparser_base.h.

◆ MessageRef() [4/4]

template<typename T >
PJ::MessageRef::MessageRef ( const std::vector< T > &  vect)
inlineexplicit

Definition at line 47 of file messageparser_base.h.

Member Function Documentation

◆ data() [1/2]

uint8_t* PJ::MessageRef::data ( )
inline

Definition at line 56 of file messageparser_base.h.

◆ data() [2/2]

const uint8_t* PJ::MessageRef::data ( ) const
inline

Definition at line 51 of file messageparser_base.h.

◆ size()

size_t PJ::MessageRef::size ( ) const
inline

Definition at line 61 of file messageparser_base.h.

Member Data Documentation

◆ _ptr

const uint8_t* PJ::MessageRef::_ptr = nullptr
private

Definition at line 67 of file messageparser_base.h.

◆ _size

size_t PJ::MessageRef::_size = 0
private

Definition at line 68 of file messageparser_base.h.


The documentation for this class was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:52