emlabcpp
modern opinionated embedded C++ library
emlabcpp::protocol::packet< Def, Payload >::sequencer_def Struct Reference

#include <packet.h>

Public Types

using message_type = typename base::message_type
 
using serializer_type = serializer< size_type, endianess >
 

Static Public Member Functions

static constexpr std::size_t get_size (auto const &buffer)
 

Static Public Attributes

static constexpr auto prefix = Def::prefix
 
static constexpr std::size_t fixed_size = prefix_size + size_size
 

Member Typedef Documentation

◆ message_type

template<packet_def Def, typename Payload >
using emlabcpp::protocol::packet< Def, Payload >::sequencer_def::message_type = typename base::message_type

◆ serializer_type

template<packet_def Def, typename Payload >
using emlabcpp::protocol::packet< Def, Payload >::sequencer_def::serializer_type = serializer< size_type, endianess >

Member Function Documentation

◆ get_size()

Member Data Documentation

◆ fixed_size

template<packet_def Def, typename Payload >
constexpr std::size_t emlabcpp::protocol::packet< Def, Payload >::sequencer_def::fixed_size = prefix_size + size_size
staticconstexpr

◆ prefix

template<packet_def Def, typename Payload >
constexpr auto emlabcpp::protocol::packet< Def, Payload >::sequencer_def::prefix = Def::prefix
staticconstexpr

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