Public Member Functions | Protected Attributes | List of all members
RosMsgParser::Deserializer Class Referenceabstract

#include <deserializer.hpp>

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

Public Member Functions

virtual size_t bytesLeft () const
 
virtual Variant deserialize (BuiltinType type)=0
 
virtual Span< const uint8_t > deserializeByteSequence ()=0
 
virtual void deserializeString (std::string &out)=0
 
virtual uint32_t deserializeUInt32 ()=0
 
virtual const uint8_t * getCurrentPtr () const =0
 
virtual void init (Span< const uint8_t > buffer)
 
virtual bool isROS2 () const =0
 
virtual void jump (size_t bytes)=0
 
virtual void reset ()=0
 
virtual ~Deserializer ()=default
 

Protected Attributes

Span< const uint8_t > _buffer
 

Detailed Description

Definition at line 20 of file deserializer.hpp.

Constructor & Destructor Documentation

◆ ~Deserializer()

virtual RosMsgParser::Deserializer::~Deserializer ( )
virtualdefault

Member Function Documentation

◆ bytesLeft()

virtual size_t RosMsgParser::Deserializer::bytesLeft ( ) const
inlinevirtual

Definition at line 48 of file deserializer.hpp.

◆ deserialize()

virtual Variant RosMsgParser::Deserializer::deserialize ( BuiltinType  type)
pure virtual

◆ deserializeByteSequence()

virtual Span<const uint8_t> RosMsgParser::Deserializer::deserializeByteSequence ( )
pure virtual

◆ deserializeString()

virtual void RosMsgParser::Deserializer::deserializeString ( std::string &  out)
pure virtual

◆ deserializeUInt32()

virtual uint32_t RosMsgParser::Deserializer::deserializeUInt32 ( )
pure virtual

◆ getCurrentPtr()

virtual const uint8_t* RosMsgParser::Deserializer::getCurrentPtr ( ) const
pure virtual

◆ init()

virtual void RosMsgParser::Deserializer::init ( Span< const uint8_t >  buffer)
inlinevirtual

Definition at line 23 of file deserializer.hpp.

◆ isROS2()

virtual bool RosMsgParser::Deserializer::isROS2 ( ) const
pure virtual

◆ jump()

virtual void RosMsgParser::Deserializer::jump ( size_t  bytes)
pure virtual

◆ reset()

virtual void RosMsgParser::Deserializer::reset ( )
pure virtual

Member Data Documentation

◆ _buffer

Span<const uint8_t> RosMsgParser::Deserializer::_buffer
protected

Definition at line 57 of file deserializer.hpp.


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