Class Message

Class Documentation

class Message

Public Functions

Message(const std::byte *data, std::size_t length)
Header getHeader() const
template<typename T>
T as() const

General case of type punning a message into a specific GSOF message.

Template Parameters:

T – template parameter should be a packed GSOF struct. Compilation will fail if the type is dynamic. It is expected that you write an explicit template specialization if your type requires dynamic parsing.

Returns:

template<>
AllSvBrief as() const
template<>
AllSvDetailed as() const
template<>
Velocity as() const
template<>
AttitudeInfo as() const
template<>
PositionTypeInformation as() const