1#ifndef POSITION_VECTOR_HPP_WJAGEOCS
2#define POSITION_VECTOR_HPP_WJAGEOCS
4#include <vanetza/common/bit_number.hpp>
5#include <vanetza/geonet/address.hpp>
6#include <vanetza/geonet/serialization.hpp>
7#include <vanetza/geonet/timestamp.hpp>
8#include <vanetza/geonet/units.hpp>
9#include <boost/units/quantity.hpp>
10#include <boost/units/systems/si/velocity.hpp>
23 static constexpr std::size_t length_bytes = 24;
31 geo_angle_i32t latitude;
32 geo_angle_i32t longitude;
33 bool position_accuracy_indicator;
45
46
47
51
52
53
54
63 static constexpr std::size_t length_bytes = 20;
65 ShortPositionVector() =
default;
72 geo_angle_i32t latitude;
73 geo_angle_i32t longitude;
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