imu_advanced_navigation_anpp
Public Member Functions | Static Public Attributes | List of all members
imu_advanced_navigation_anpp::protocol::Request Struct Reference

#include <Protocol.hpp>

Public Member Functions

template<typename OutputIterator , typename InputIterator >
OutputIterator marshal (OutputIterator out, InputIterator begin, InputIterator end) const
 
template<typename OutputIterator >
OutputIterator marshal (OutputIterator out, uint8_t packet_id) const
 

Static Public Attributes

static constexpr uint8_t ID = 1
 
static constexpr int MIN_SIZE = 0
 

Detailed Description

Request packet

This is a variable-length packet made only of the IDs of the requested packets. There is no static part, hence the empty struct

Member Function Documentation

◆ marshal() [1/2]

template<typename OutputIterator , typename InputIterator >
OutputIterator imu_advanced_navigation_anpp::protocol::Request::marshal ( OutputIterator  out,
InputIterator  begin,
InputIterator  end 
) const
inline

◆ marshal() [2/2]

template<typename OutputIterator >
OutputIterator imu_advanced_navigation_anpp::protocol::Request::marshal ( OutputIterator  out,
uint8_t  packet_id 
) const
inline

Member Data Documentation

◆ ID

uint8_t const protocol::Request::ID = 1
static

◆ MIN_SIZE

constexpr int imu_advanced_navigation_anpp::protocol::Request::MIN_SIZE = 0
static

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