JayBeams  0.1
Another project to have fun coding.
Public Attributes | Static Public Attributes | List of all members
jb::pitch2::time_message Struct Reference

Represent the 'Time' message in the PITCH-2.X protocol. More...

#include <time_message.hpp>

Public Attributes

boost::endian::little_uint8_buf_t length
 
boost::endian::little_uint8_buf_t message_type
 
boost::endian::little_int32_buf_t time
 

Static Public Attributes

static constexpr int type = 0x20
 Define the messsage type. More...
 

Detailed Description

Represent the 'Time' message in the PITCH-2.X protocol.

A full description of the fields can be found in the BATS PITCH-2.X specification: https://www.batstrading.com/resources/membership/BATS_MC_PITCH_Specification.pdf

Definition at line 19 of file time_message.hpp.

Member Data Documentation

◆ length

boost::endian::little_uint8_buf_t jb::pitch2::time_message::length

Definition at line 23 of file time_message.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and jb::pitch2::operator<<().

◆ message_type

boost::endian::little_uint8_buf_t jb::pitch2::time_message::message_type

Definition at line 24 of file time_message.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and jb::pitch2::operator<<().

◆ time

boost::endian::little_int32_buf_t jb::pitch2::time_message::time

Definition at line 25 of file time_message.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and jb::pitch2::operator<<().

◆ type

constexpr int jb::pitch2::time_message::type = 0x20
static

Define the messsage type.

Definition at line 21 of file time_message.hpp.


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