Vanetza
Loading...
Searching...
No Matches
dcc_field_generator.hpp
1
#
ifndef
DCC_FIELD_GENERATOR_HPP_FVGALNWN
2
#
define
DCC_FIELD_GENERATOR_HPP_FVGALNWN
3
4
#
include
<
vanetza
/
geonet
/
dcc_field
.
hpp
>
5
6
namespace
vanetza
7
{
8
namespace
geonet
9
{
10
11
class
DccFieldGenerator
12
{
13
public
:
14
virtual
DccField generate_dcc_field() = 0;
15
16
virtual
~DccFieldGenerator() =
default
;
17
};
18
19
class
NullDccFieldGenerator
:
public
DccFieldGenerator
20
{
21
public
:
22
DccField generate_dcc_field()
override
{
return
static_cast
<uint32_t>(0); }
23
};
24
25
}
// namespace geonet
26
}
// namespace vanetza
27
28
#
endif
/* DCC_DCC_FIELD_GENERATOR_HPP_FVGALNWN */
vanetza::Clock
Definition
clock.hpp:16
vanetza::HookRegistry
Definition
hook.hpp:71
vanetza::Hook
Definition
hook.hpp:15
vanetza::Runtime
Definition
runtime.hpp:16
vanetza::UnitInterval
Definition
unit_interval.hpp:24
vanetza::dcc::ChannelLoad
Definition
channel_load.hpp:12
vanetza::geonet::CbrAggregator
Definition
cbr_aggregator.hpp:22
vanetza::geonet::DccFieldGenerator
Definition
dcc_field_generator.hpp:12
vanetza::geonet::DccInformationSharing
Definition
dcc_information_sharing.hpp:30
vanetza::geonet::DccInformationSharing::DccInformationSharing
DccInformationSharing(Runtime &rt, const LocationTable <, dcc::ChannelLoad target, UnitInterval delay)
Definition
dcc_information_sharing.cpp:10
vanetza::geonet::DccInformationSharing::on_global_cbr_update
HookRegistry< const CbrAggregator & > on_global_cbr_update
Definition
dcc_information_sharing.hpp:84
vanetza::geonet::DccInformationSharing::set_tx_power
void set_tx_power(unsigned power)
Definition
dcc_information_sharing.cpp:40
vanetza::geonet::DccInformationSharing::update_local_cbr
void update_local_cbr(dcc::ChannelLoad cbr)
Definition
dcc_information_sharing.cpp:35
vanetza::geonet::DccMcoField
Definition
dcc_mco_field.hpp:18
vanetza::geonet::DccMcoField::output_power
void output_power(unsigned dbm)
Definition
dcc_mco_field.cpp:56
vanetza::geonet::LocationTable
Definition
location_table.hpp:112
vanetza::geonet::NullDccFieldGenerator
Definition
dcc_field_generator.hpp:20
vanetza::geonet::Timestamp
Definition
timestamp.hpp:20
vanetza
geonet
dcc_field_generator.hpp
Generated on
for Vanetza by
1.16.1