EMANE
1.2.1
|
Recieve Properties Control Message is sent from the emulator physical layer with every upstream packet. It contains the tx time stamp, propagation delay, span and reciever sensitivity associated with the packet and the reciever. More...
#include <receivepropertiescontrolmessage.h>
Public Types | |
enum | { IDENTIFIER = EMANE_CONTROL_MEASSGE_RECEIVE_PROPERTIES } |
Public Member Functions | |
ReceivePropertiesControlMessage * | clone () const override |
~ReceivePropertiesControlMessage () | |
TimePoint | getTxTime () const |
Microseconds | getPropagationDelay () const |
Microseconds | getSpan () const |
double | getReceiverSensitivitydBm () const |
ControlMessageId | getId () const |
virtual Serialization | serialize () const |
Static Public Member Functions | |
static ReceivePropertiesControlMessage * | create (const TimePoint &txTime, const Microseconds &propagation, const Microseconds &span, double dReceiverSensitivitydBm) |
Recieve Properties Control Message is sent from the emulator physical layer with every upstream packet. It contains the tx time stamp, propagation delay, span and reciever sensitivity associated with the packet and the reciever.
Definition at line 59 of file receivepropertiescontrolmessage.h.
anonymous enum |
Enumerator | |
---|---|
IDENTIFIER |
Definition at line 149 of file receivepropertiescontrolmessage.h.
EMANE::Controls::ReceivePropertiesControlMessage::~ReceivePropertiesControlMessage | ( | ) |
Destroys an instance
Definition at line 88 of file receivepropertiescontrolmessage.cc.
|
overridevirtual |
Clones the control message on the heap
Implements EMANE::Cloneable< ControlMessage >.
Definition at line 122 of file receivepropertiescontrolmessage.cc.
|
static |
Creates a ReceivePropertiesControlMessage on the heap
txTime | Time value used as the tx time in the common PHY Header |
propagation | Propagation delay in microseconds |
span | Length of time in microseconds between the earliest start-of-reception (SoR) frequency segment and latest end-of-reception (EoR) segment. |
dReceiverSensitivitydBm | Receiver sensitivity in dBm |
Definition at line 92 of file receivepropertiescontrolmessage.cc.
|
inlineinherited |
Gets the control message id
Definition at line 64 of file controlmessage.h.
EMANE::Microseconds EMANE::Controls::ReceivePropertiesControlMessage::getPropagationDelay | ( | ) | const |
Gets the propagation delay in microseconds
Definition at line 111 of file receivepropertiescontrolmessage.cc.
double EMANE::Controls::ReceivePropertiesControlMessage::getReceiverSensitivitydBm | ( | ) | const |
Gets the receiver sensitivity in dBm
Definition at line 105 of file receivepropertiescontrolmessage.cc.
EMANE::Microseconds EMANE::Controls::ReceivePropertiesControlMessage::getSpan | ( | ) | const |
Gets the message span
Definition at line 116 of file receivepropertiescontrolmessage.cc.
EMANE::TimePoint EMANE::Controls::ReceivePropertiesControlMessage::getTxTime | ( | ) | const |
|
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.