EMANE
1.2.1
|
The Frequency of Interest Control Message is sent to the emulator physical layer to specify receive frequencies. These frequencies are monitored by the SpectrumMonitor. More...
#include <frequencyofinterestcontrolmessage.h>
Public Types | |
enum | { IDENTIFIER = EMANE_CONTROL_MEASSGE_FREQUENCY_OF_INTEREST } |
Public Member Functions | |
FrequencyOfInterestControlMessage * | clone () const override |
~FrequencyOfInterestControlMessage () | |
const FrequencySet & | getFrequencySet () const |
std::uint64_t | getBandwidthHz () const |
ControlMessageId | getId () const |
virtual Serialization | serialize () const |
Static Public Member Functions | |
static FrequencyOfInterestControlMessage * | create (std::uint64_t u64BandwidthHz, const FrequencySet &frequencySet) |
The Frequency of Interest Control Message is sent to the emulator physical layer to specify receive frequencies. These frequencies are monitored by the SpectrumMonitor.
Definition at line 56 of file frequencyofinterestcontrolmessage.h.
anonymous enum |
Enumerator | |
---|---|
IDENTIFIER |
Definition at line 108 of file frequencyofinterestcontrolmessage.h.
EMANE::Controls::FrequencyOfInterestControlMessage::~FrequencyOfInterestControlMessage | ( | ) |
Destroys an instance
Definition at line 70 of file frequencyofinterestcontrolmessage.cc.
|
overridevirtual |
Clones the control message on the heap
Implements EMANE::Cloneable< ControlMessage >.
Definition at line 92 of file frequencyofinterestcontrolmessage.cc.
|
static |
Creates a FrequencyOfInterestControlMessage on the heap
u64BandwidthHz | Bandwidth in Hz |
frequencySet | Frequency set |
Definition at line 74 of file frequencyofinterestcontrolmessage.cc.
std::uint64_t EMANE::Controls::FrequencyOfInterestControlMessage::getBandwidthHz | ( | ) | const |
Gets the bandwidth in Hz
Definition at line 86 of file frequencyofinterestcontrolmessage.cc.
const EMANE::FrequencySet & EMANE::Controls::FrequencyOfInterestControlMessage::getFrequencySet | ( | ) | const |
Gets the frequency segments
Definition at line 81 of file frequencyofinterestcontrolmessage.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.