EMANE
1.2.1
|
The Frequency Control Message is sent to the emulator physical layer to specify the frequency segment information to use on the downstream and on the upstream is sent to the MAC layer to specify received frequency segment information including per segment receive power. More...
#include <frequencycontrolmessage.h>
Public Types | |
enum | { IDENTIFIER = EMANE_CONTROL_MEASSGE_FREQUENCY } |
Public Member Functions | |
FrequencyControlMessage * | clone () const override |
~FrequencyControlMessage () | |
const FrequencySegments & | getFrequencySegments () const |
std::uint64_t | getBandwidthHz () const |
ControlMessageId | getId () const |
virtual Serialization | serialize () const |
Static Public Member Functions | |
static FrequencyControlMessage * | create (std::uint64_t u64BandwidthHz, const FrequencySegments &frequencySegments) |
The Frequency Control Message is sent to the emulator physical layer to specify the frequency segment information to use on the downstream and on the upstream is sent to the MAC layer to specify received frequency segment information including per segment receive power.
Definition at line 59 of file frequencycontrolmessage.h.
anonymous enum |
Enumerator | |
---|---|
IDENTIFIER |
Definition at line 111 of file frequencycontrolmessage.h.
EMANE::Controls::FrequencyControlMessage::~FrequencyControlMessage | ( | ) |
Destroys an instance
Definition at line 69 of file frequencycontrolmessage.cc.
|
overridevirtual |
Clones the control message on the heap
Implements EMANE::Cloneable< ControlMessage >.
Definition at line 91 of file frequencycontrolmessage.cc.
|
static |
Creates a FrequencyControlMessage on the heap
u64BandwidthHz | Bandwidth in Hz |
frequencySegments | Frequency segments |
Definition at line 73 of file frequencycontrolmessage.cc.
std::uint64_t EMANE::Controls::FrequencyControlMessage::getBandwidthHz | ( | ) | const |
const EMANE::FrequencySegments & EMANE::Controls::FrequencyControlMessage::getFrequencySegments | ( | ) | const |
Gets the frequency segments
Definition at line 80 of file frequencycontrolmessage.cc.
|
inlineinherited |
Gets the control message id
Definition at line 64 of file controlmessage.h.
|
inlinevirtualinherited |
Gets the serialized form of the object
SerializationException |
Reimplemented in EMANE::Controls::R2RISelfMetricControlMessage, EMANE::Controls::R2RINeighborMetricControlMessage, EMANE::Controls::OTATransmitterControlMessage, EMANE::Controls::R2RIQueueMetricControlMessage, EMANE::Controls::FlowControlControlMessage, EMANE::Events::CommEffectEvent, EMANE::Events::AntennaProfileEvent, EMANE::Events::FadingSelectionEvent, EMANE::Events::LocationEvent, EMANE::Events::PathlossEvent, EMANE::Models::IEEE80211ABG::MACHeaderMessage, EMANE::Models::TDMA::BaseModelMessage, EMANE::Models::TimingAnalysis::ShimHeaderMessage, EMANE::Messages::LoggerRecordMessage, EMANE::Models::RFPipe::MACHeaderMessage, EMANE::Models::IEEE80211ABG::OneHopNeighborsEvent, and EMANE::Models::CommEffect::ShimHeader.
Definition at line 69 of file serializable.h.