Goby3  3.1.4
2024.02.22
goby::middleware::SerializerParserHelper< mavlink::mavlink_message_t, MarshallingScheme::MAVLINK > Struct Reference

Specialization for Mavlink message using runtime introspection (publish and subscribe_type_regex only) More...

#include <goby/middleware/marshalling/mavlink.h>

Static Public Member Functions

static std::vector< charserialize (const mavlink::mavlink_message_t &msg)
 
static std::string type_name (const mavlink::mavlink_message_t &msg)
 
template<typename CharIterator >
static std::shared_ptr< mavlink::mavlink_message_t > parse (CharIterator bytes_begin, CharIterator bytes_end, CharIterator &actual_end, const std::string &type)
 

Detailed Description

Specialization for Mavlink message using runtime introspection (publish and subscribe_type_regex only)

Definition at line 89 of file mavlink.h.

Member Function Documentation

◆ parse()

template<typename CharIterator >
static std::shared_ptr<mavlink::mavlink_message_t> goby::middleware::SerializerParserHelper< mavlink::mavlink_message_t, MarshallingScheme::MAVLINK >::parse ( CharIterator  bytes_begin,
CharIterator  bytes_end,
CharIterator &  actual_end,
const std::string &  type 
)
inlinestatic

Definition at line 105 of file mavlink.h.

◆ serialize()

static std::vector<char> goby::middleware::SerializerParserHelper< mavlink::mavlink_message_t, MarshallingScheme::MAVLINK >::serialize ( const mavlink::mavlink_message_t &  msg)
inlinestatic

Definition at line 91 of file mavlink.h.

◆ type_name()

static std::string goby::middleware::SerializerParserHelper< mavlink::mavlink_message_t, MarshallingScheme::MAVLINK >::type_name ( const mavlink::mavlink_message_t &  msg)
inlinestatic

Definition at line 98 of file mavlink.h.


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