Goby3 3.5.1
2026.06.04
Loading...
Searching...
No Matches
goby::middleware::SerializerParserHelper< std::tuple< Integer, Integer, DataType >, MarshallingScheme::MAVLINK > Struct Template Reference

Specialization for known compile-time Mavlink message and system id / component id metadata, e.g. DataType == HEARTBEAT, with tuple of <sysid, compid, msg>. More...

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

Static Public Member Functions

static std::vector< char > serialize (const std::tuple< Integer, Integer, DataType > &packet_with_metadata)
static std::string type_name ()
static std::string type_name (const std::tuple< Integer, Integer, DataType > &)
template<typename CharIterator>
static std::shared_ptr< std::tuple< Integer, Integer, DataType > > parse (CharIterator bytes_begin, CharIterator bytes_end, CharIterator &actual_end, const std::string &=type_name())

Detailed Description

template<typename DataType, typename Integer>
struct goby::middleware::SerializerParserHelper< std::tuple< Integer, Integer, DataType >, MarshallingScheme::MAVLINK >

Specialization for known compile-time Mavlink message and system id / component id metadata, e.g. DataType == HEARTBEAT, with tuple of <sysid, compid, msg>.

Definition at line 175 of file mavlink.h.

Member Function Documentation

◆ parse()

template<typename DataType, typename Integer>
template<typename CharIterator>
std::shared_ptr< std::tuple< Integer, Integer, DataType > > goby::middleware::SerializerParserHelper< std::tuple< Integer, Integer, DataType >, MarshallingScheme::MAVLINK >::parse ( CharIterator bytes_begin,
CharIterator bytes_end,
CharIterator & actual_end,
const std::string & = type_name() )
inlinestatic

Definition at line 201 of file mavlink.h.

◆ serialize()

template<typename DataType, typename Integer>
std::vector< char > goby::middleware::SerializerParserHelper< std::tuple< Integer, Integer, DataType >, MarshallingScheme::MAVLINK >::serialize ( const std::tuple< Integer, Integer, DataType > & packet_with_metadata)
inlinestatic

Definition at line 178 of file mavlink.h.

◆ type_name() [1/2]

template<typename DataType, typename Integer>
std::string goby::middleware::SerializerParserHelper< std::tuple< Integer, Integer, DataType >, MarshallingScheme::MAVLINK >::type_name ( )
inlinestatic

Definition at line 193 of file mavlink.h.

◆ type_name() [2/2]

template<typename DataType, typename Integer>
std::string goby::middleware::SerializerParserHelper< std::tuple< Integer, Integer, DataType >, MarshallingScheme::MAVLINK >::type_name ( const std::tuple< Integer, Integer, DataType > & )
inlinestatic

Definition at line 194 of file mavlink.h.


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