JayBeams  0.1
Another project to have fun coding.
time_message.cpp
Go to the documentation of this file.
2 
3 #include <ostream>
4 
5 namespace jb {
6 namespace pitch2 {
7 
8 std::ostream& operator<<(std::ostream& os, time_message const& x) {
9  return os << "length=" << static_cast<int>(x.length.value())
10  << ",message_type=" << static_cast<int>(x.message_type.value())
11  << ",time=" << x.time.value();
12 }
13 
14 } // namespace pitch2
15 } // namespace jb
std::ostream & operator<<(std::ostream &os, add_order_message const &x)
Streaming operator for jb::pitch2::add_order_message.
boost::endian::little_uint8_buf_t length
boost::endian::little_uint8_buf_t message_type
Represent the &#39;Time&#39; message in the PITCH-2.X protocol.
boost::endian::little_int32_buf_t time
The top-level namespace for the JayBeams library.
Definition: as_hhmmss.hpp:7