35 class EMANE::Controls::FrequencyControlMessage::Implementation
38 Implementation(std::uint64_t u64BandwidthHz,
40 u64BandwidthHz_{u64BandwidthHz},
41 frequencySegments_{frequencySegments}{}
45 return u64BandwidthHz_;
50 return frequencySegments_;
54 const std::uint64_t u64BandwidthHz_;
58 EMANE::Controls::FrequencyControlMessage::
59 FrequencyControlMessage(
const FrequencyControlMessage & msg):
61 pImpl_{
new Implementation{*msg.pImpl_}}
64 EMANE::Controls::FrequencyControlMessage::FrequencyControlMessage(std::uint64_t u64BandwidthHz,
66 ControlMessage{IDENTIFIER},
67 pImpl_{
new Implementation{u64BandwidthHz,frequencySegments}}{}
82 return pImpl_->getFrequencySegments();
87 return pImpl_->getBandwidthHz();
~FrequencyControlMessage()
static FrequencyControlMessage * create(std::uint64_t u64BandwidthHz, const FrequencySegments &frequencySegments)
std::uint64_t getBandwidthHz() const
The Frequency Control Message is sent to the emulator physical layer to specify the frequency segment...
const FrequencySegments & getFrequencySegments() const
FrequencyControlMessage * clone() const override
std::list< FrequencySegment > FrequencySegments
ControlMessage(ControlMessageId id)