1#ifndef UNITS_HPP_O254IL9W
2#define UNITS_HPP_O254IL9W
4#include <boost/units/make_scaled_unit.hpp>
5#include <boost/units/quantity.hpp>
6#include <boost/units/systems/angle/degrees.hpp>
7#include <boost/units/systems/si/length.hpp>
16typedef boost::units::quantity<boost::units::si::length, uint16_t> distance_u16t;
19typedef boost::units::quantity<boost::units::make_scaled_unit<
20 boost::units::degree::plane_angle,
21 boost::units::scale<10, boost::units::static_rational<-7>>
22 >::type, int32_t> geo_angle_i32t;
25typedef boost::units::quantity<boost::units::degree::plane_angle, uint16_t> angle_u16t;
28typedef boost::units::quantity<boost::units::make_scaled_unit<
29 boost::units::degree::plane_angle,
30 boost::units::scale<10, boost::units::static_rational<-1>>
31 >::type, uint16_t> heading_u16t;
ChunckPacket is a packet consisting of several memory chunks.
ByteBufferConvertible & operator[](OsiLayer ol)
ChunkPacket & merge(ChunkPacket &packet, OsiLayer from, OsiLayer to)
const ByteBufferConvertible & layer(OsiLayer ol) const
const ByteBufferConvertible & operator[](OsiLayer ol) const
ByteBufferConvertible & layer(OsiLayer ol)
std::size_t size(OsiLayer from, OsiLayer to) const
ChunkPacket extract(OsiLayer from, OsiLayer to)
std::size_t size(OsiLayer from, OsiLayer to) const
buffer_const_range operator[](OsiLayer layer) const
void set_boundary(OsiLayer, unsigned bytes)
const ByteBuffer & buffer() const
CohesivePacket(const ByteBuffer &buffer, OsiLayer layer)
void trim(OsiLayer from, unsigned bytes)
std::size_t size(OsiLayer single_layer) const
value_type operator[](size_type) const
byte_view_range(ByteBuffer &&)
byte_view_range(const ByteBuffer::const_iterator &, const ByteBuffer::const_iterator &)
ByteBuffer::const_pointer data() const
void encode(units::Duration)
units::Duration decode() const
bool after(const Timestamp &other) const
bool before(const Timestamp &other) const