JayBeams
0.1
Another project to have fun coding.
|
A simple. More...
#include <unknown_message.hpp>
Public Member Functions | |
unknown_message (std::uint32_t count, std::size_t offset, std::size_t len, void const *buf) | |
Constructor from message details. More... | |
unknown_message (unknown_message &&)=default | |
template<bool validate> | |
message_header | decode_header () const |
Extract the message header. More... | |
Accessors | |
std::uint32_t | count () const |
std::uint64_t | offset () const |
std::size_t | len () const |
void const * | buf () const |
Private Member Functions | |
unknown_message (unknown_message const &)=delete | |
unknown_message & | operator= (unknown_message const &)=delete |
Private Attributes | |
std::uint32_t | count_ |
std::size_t | offset_ |
std::size_t | len_ |
void const * | buf_ |
A simple.
Definition at line 12 of file unknown_message.hpp.
|
inline |
Constructor from message details.
Definition at line 15 of file unknown_message.hpp.
Referenced by decode_header().
|
default |
|
privatedelete |
|
inline |
Definition at line 37 of file unknown_message.hpp.
References buf_.
Referenced by jb::itch5::mold_udp_pacer< clock_type >::coalesce(), decode_header(), jb::itch5::compute_book< book_type >::handle_unknown(), and main().
|
inline |
Definition at line 28 of file unknown_message.hpp.
References count_.
Referenced by jb::itch5::mold_udp_pacer< clock_type >::coalesce(), jb::itch5::mold_udp_pacer< clock_type >::handle_message(), jb::itch5::compute_book< book_type >::handle_unknown(), and main().
|
inline |
Extract the message header.
Definition at line 44 of file unknown_message.hpp.
References buf(), len(), operator=(), jb::itch5::decoder< validate, T >::r(), and unknown_message().
Referenced by jb::itch5::mold_udp_pacer< clock_type >::handle_message().
|
inline |
Definition at line 34 of file unknown_message.hpp.
References len_.
Referenced by jb::itch5::mold_udp_pacer< clock_type >::coalesce(), and decode_header().
|
inline |
Definition at line 31 of file unknown_message.hpp.
References offset_.
Referenced by jb::itch5::compute_book< book_type >::handle_unknown(), and main().
|
privatedelete |
Referenced by decode_header().
|
private |
Definition at line 58 of file unknown_message.hpp.
Referenced by buf().
|
private |
Definition at line 55 of file unknown_message.hpp.
Referenced by count().
|
private |
Definition at line 57 of file unknown_message.hpp.
Referenced by len().
|
private |
Definition at line 56 of file unknown_message.hpp.
Referenced by offset().