3#include <vanetza/units/angle.hpp>
4#include <vanetza/units/length.hpp>
12
13
14
17 CartesianPosition() : x(0.0 * units::si::meter), y(0.0 * units::si::meter) {}
18 CartesianPosition(units::Length x_, units::Length y_) : x(x_), y(y_) {}
28 latitude(0.0 * units::degree), longitude(0.0 * units::degree) {}
29 GeodeticPosition(units::GeoAngle lat, units::GeoAngle lon) :
30 latitude(lat), longitude(lon) {}
31 units::GeoAngle latitude;
32 units::GeoAngle 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