|
emlabcpp
modern opinionated embedded C++ library
|
#include <packet.h>
Inheritance diagram for emlabcpp::protocol::packet< Def, Payload >:
Collaboration diagram for emlabcpp::protocol::packet< Def, Payload >:Classes | |
| struct | sequencer_def |
Public Types | |
| using | payload_type = Payload |
| using | base = packet_base< Def, Payload > |
| using | prefix_type = std::decay_t< decltype(prefix) > |
| using | prefix_traits = proto_traits< prefix_type > |
| using | size_type = typename Def::size_type |
| using | size_traits = proto_traits< size_type > |
| using | payload_traits = proto_traits< Payload > |
| using | value_type = typename payload_traits::value_type |
| using | checksum_type = typename Def::checksum_type |
| using | checksum_traits = proto_traits< checksum_type > |
| using | sequencer_type = sequencer< sequencer_def > |
Public Types inherited from emlabcpp::protocol::tuple< Endianess, Ds > | |
| template<typename... SubDs> | |
| using | with_items = tuple< Endianess, Ds..., SubDs... > |
| using | def_tuple = std::tuple< Ds... > |
| template<std::size_t N> | |
| using | nth_def = std::tuple_element_t< N, def_tuple > |
| using | def_type = endianess_wrapper< Endianess, def_tuple > |
| using | traits = proto_traits< def_type > |
| using | value_type = typename traits::value_type |
| using | message_type = message< max_size > |
Static Public Member Functions | |
| static constexpr checksum_type | get_checksum (view< std::byte const * > const mview) |
Static Public Member Functions inherited from emlabcpp::protocol::tuple< Endianess, Ds > | |
| constexpr static value_type | make_val (typename proto_traits< Ds >::value_type const &... args) |
Static Public Attributes | |
| static constexpr auto | prefix = Def::prefix |
| static constexpr auto | endianess = Def::endianess |
| static constexpr std::size_t | prefix_size = prefix_traits::max_size |
| static constexpr std::size_t | size_size = size_traits::max_size |
Static Public Attributes inherited from emlabcpp::protocol::tuple< Endianess, Ds > | |
| static constexpr std::size_t | max_size = traits::max_size |
| using emlabcpp::protocol::packet< Def, Payload >::base = packet_base< Def, Payload > |
| using emlabcpp::protocol::packet< Def, Payload >::checksum_traits = proto_traits< checksum_type > |
| using emlabcpp::protocol::packet< Def, Payload >::checksum_type = typename Def::checksum_type |
| using emlabcpp::protocol::packet< Def, Payload >::payload_traits = proto_traits< Payload > |
| using emlabcpp::protocol::packet< Def, Payload >::payload_type = Payload |
| using emlabcpp::protocol::packet< Def, Payload >::prefix_traits = proto_traits< prefix_type > |
| using emlabcpp::protocol::packet< Def, Payload >::prefix_type = std::decay_t< decltype( prefix ) > |
| using emlabcpp::protocol::packet< Def, Payload >::sequencer_type = sequencer< sequencer_def > |
| using emlabcpp::protocol::packet< Def, Payload >::size_traits = proto_traits< size_type > |
| using emlabcpp::protocol::packet< Def, Payload >::size_type = typename Def::size_type |
| using emlabcpp::protocol::packet< Def, Payload >::value_type = typename payload_traits::value_type |
|
inlinestaticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |