35 class EMANE::Controls::ReceivePropertiesControlMessage::Implementation
41 double dReceiverSensitivitydBm):
43 propagation_{propagation},
45 dReceiverSensitivitydBm_{dReceiverSensitivitydBm}{}
64 return dReceiverSensitivitydBm_;
71 const double dReceiverSensitivitydBm_;
74 EMANE::Controls::ReceivePropertiesControlMessage::
75 ReceivePropertiesControlMessage(
const ReceivePropertiesControlMessage & msg):
77 pImpl_{
new Implementation{*msg.pImpl_}}
81 EMANE::Controls::ReceivePropertiesControlMessage::ReceivePropertiesControlMessage(
const TimePoint & sot,
84 double dReceiverSensitivitydBm):
85 ControlMessage{IDENTIFIER},
86 pImpl_{
new Implementation{sot,propagation,span,dReceiverSensitivitydBm}}{}
95 double dReceiverSensitivitydBm)
102 return pImpl_->getTxTime();
107 return pImpl_->getReceiverSensitivitydBm();
113 return pImpl_->getPropagationDelay();
118 return pImpl_->getSpan();
Microseconds getSpan() const
Recieve Properties Control Message is sent from the emulator physical layer with every upstream packe...
Microseconds getPropagationDelay() const
TimePoint getTxTime() const
std::chrono::microseconds Microseconds
~ReceivePropertiesControlMessage()
static ReceivePropertiesControlMessage * create(const TimePoint &txTime, const Microseconds &propagation, const Microseconds &span, double dReceiverSensitivitydBm)
ReceivePropertiesControlMessage * clone() const override
Clock::time_point TimePoint
double getReceiverSensitivitydBm() const
ControlMessage(ControlMessageId id)