Vanetza
Loading...
Searching...
No Matches
angle.hpp
1#ifndef ANGLE_HPP_QWPLNJ3B
2#define ANGLE_HPP_QWPLNJ3B
3
4#include <boost/units/absolute.hpp>
5#include <boost/units/quantity.hpp>
6#include <boost/units/systems/angle/degrees.hpp>
7#include <boost/units/systems/si/plane_angle.hpp>
8
9namespace vanetza
10{
11namespace units
12{
13
14namespace si = boost::units::si;
15using boost::units::degree::degree;
16using boost::units::degree::degrees;
17using boost::units::absolute;
18
19typedef boost::units::quantity<boost::units::si::plane_angle> Angle;
20typedef boost::units::quantity<boost::units::degree::plane_angle> GeoAngle;
21typedef boost::units::quantity<boost::units::absolute<boost::units::degree::plane_angle>> TrueNorth;
22
23BOOST_UNITS_STATIC_CONSTANT(true_north_degrees, TrueNorth::unit_type);
24
25} // namespace units
26} // namespace vanetza
27
28#endif /* ANGLE_HPP_QWPLNJ3B */
ChunckPacket is a packet consisting of several memory chunks.
ByteBufferConvertible & operator[](OsiLayer ol)
ChunkPacket & merge(ChunkPacket &packet, OsiLayer from, OsiLayer to)
std::size_t size() const
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
std::size_t size() 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
Definition byte_view.cpp:48
byte_view_range(ByteBuffer &&)
Definition byte_view.cpp:37
byte_view_range(const ByteBuffer::const_iterator &, const ByteBuffer::const_iterator &)
Definition byte_view.cpp:27
ByteBuffer::const_pointer data() const
Definition byte_view.cpp:42