Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RosMsgParser::ROS_Deserializer Class Reference

#include <deserializer.hpp>

Inheritance diagram for RosMsgParser::ROS_Deserializer:
Inheritance graph
[legend]

Public Member Functions

Variant deserialize (BuiltinType type) override
 
Span< const uint8_t > deserializeByteSequence () override
 
void deserializeString (std::string &dst) override
 
uint32_t deserializeUInt32 () override
 
const uint8_t * getCurrentPtr () const override
 
bool isROS2 () const override
 
void jump (size_t bytes) override
 
void reset () override
 
- Public Member Functions inherited from RosMsgParser::Deserializer
virtual size_t bytesLeft () const
 
virtual void init (Span< const uint8_t > buffer)
 
virtual ~Deserializer ()=default
 

Protected Member Functions

template<typename T >
deserialize ()
 

Protected Attributes

size_t _bytes_left
 
const uint8_t * _ptr
 
- Protected Attributes inherited from RosMsgParser::Deserializer
Span< const uint8_t > _buffer
 

Detailed Description

Definition at line 63 of file deserializer.hpp.

Member Function Documentation

◆ deserialize() [1/2]

template<typename T >
T RosMsgParser::ROS_Deserializer::deserialize ( )
inlineprotected

Definition at line 90 of file deserializer.hpp.

◆ deserialize() [2/2]

Variant RosMsgParser::ROS_Deserializer::deserialize ( BuiltinType  type)
overridevirtual

Implements RosMsgParser::Deserializer.

Definition at line 13 of file deserializer.cpp.

◆ deserializeByteSequence()

Span< const uint8_t > RosMsgParser::ROS_Deserializer::deserializeByteSequence ( )
overridevirtual

Implements RosMsgParser::Deserializer.

Definition at line 87 of file deserializer.cpp.

◆ deserializeString()

void RosMsgParser::ROS_Deserializer::deserializeString ( std::string &  dst)
overridevirtual

Implements RosMsgParser::Deserializer.

Definition at line 60 of file deserializer.cpp.

◆ deserializeUInt32()

uint32_t RosMsgParser::ROS_Deserializer::deserializeUInt32 ( )
overridevirtual

Implements RosMsgParser::Deserializer.

Definition at line 82 of file deserializer.cpp.

◆ getCurrentPtr()

const uint8_t * RosMsgParser::ROS_Deserializer::getCurrentPtr ( ) const
overridevirtual

Implements RosMsgParser::Deserializer.

Definition at line 104 of file deserializer.cpp.

◆ isROS2()

bool RosMsgParser::ROS_Deserializer::isROS2 ( ) const
inlineoverridevirtual

Implements RosMsgParser::Deserializer.

Definition at line 68 of file deserializer.hpp.

◆ jump()

void RosMsgParser::ROS_Deserializer::jump ( size_t  bytes)
overridevirtual

Implements RosMsgParser::Deserializer.

Definition at line 109 of file deserializer.cpp.

◆ reset()

void RosMsgParser::ROS_Deserializer::reset ( )
overridevirtual

Implements RosMsgParser::Deserializer.

Definition at line 119 of file deserializer.cpp.

Member Data Documentation

◆ _bytes_left

size_t RosMsgParser::ROS_Deserializer::_bytes_left
protected

Definition at line 87 of file deserializer.hpp.

◆ _ptr

const uint8_t* RosMsgParser::ROS_Deserializer::_ptr
protected

Definition at line 86 of file deserializer.hpp.


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


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