Vanetza
Loading...
Searching...
No Matches
loctex_g5.hpp
1#ifndef LOCTEX_G5_HPP_BVRKEPHW
2#define LOCTEX_G5_HPP_BVRKEPHW
3
4#include <vanetza/geonet/dcc_mco_field.hpp>
5#include <vanetza/geonet/timestamp.hpp>
6
7namespace vanetza
8{
9namespace geonet
10{
11
12/**
13 * Media-dependent extension to the Location Table Entry (LocTE) for ITS-G5
14 */
16{
17 Timestamp local_update; /*< TST_G5: last update time (local time stamp) */
18 Timestamp source_update; /*< TST_SO_PV_G5: SO PV timestamp from SHB header */
19 DccMcoField dcc_mco;
20};
21
22} // namespace geonet
23} // namespace vanetza
24
25#endif /* LOCTEX_G5_HPP_BVRKEPHW */
ChannelLoad get_two_hop_cbr() const
ChannelLoad get_global_cbr() const
ChannelLoad get_local_cbr() const
void aggregate(ChannelLoad cbr_local, const LocationTable &lt, Timestamp cbr_lifetime, ChannelLoad cbr_target)
ChannelLoad get_one_hop_cbr() const
void update_pdr(std::size_t packet_size, double beta=0.5)
bool update_position_vector(const LongPositionVector &pv)
const LongPositionVector & get_position_vector() const
bool set_position_vector(const LongPositionVector &pv)
void set_neighbour(bool flag, Clock::duration expiry)