EMANE
1.2.1
|
Time Stamp Control Message is sent to the emulator physical layer to specify the time that should be used for the tx time stamp in the EMANE::CommonPHYHeader. More...
#include <timestampcontrolmessage.h>
Public Types | |
enum | { IDENTIFIER = EMANE_CONTROL_MEASSGE_TIME_STAMP } |
Public Member Functions | |
TimeStampControlMessage * | clone () const override |
~TimeStampControlMessage () | |
TimePoint | getTimeStamp () const |
ControlMessageId | getId () const |
virtual Serialization | serialize () const |
Static Public Member Functions | |
static TimeStampControlMessage * | create (const TimePoint ×tamp) |
Time Stamp Control Message is sent to the emulator physical layer to specify the time that should be used for the tx time stamp in the EMANE::CommonPHYHeader.
Definition at line 60 of file timestampcontrolmessage.h.
anonymous enum |
Enumerator | |
---|---|
IDENTIFIER |
Definition at line 101 of file timestampcontrolmessage.h.
EMANE::Controls::TimeStampControlMessage::~TimeStampControlMessage | ( | ) |
Destroys an instance
Definition at line 60 of file timestampcontrolmessage.cc.
|
overridevirtual |
Clones the control message on the heap
Implements EMANE::Cloneable< ControlMessage >.
Definition at line 75 of file timestampcontrolmessage.cc.
|
static |
Creates a TimeStampControlMessage on the heap
timestamp | Time value to use as the tx time in the common PHY Header |
Definition at line 64 of file timestampcontrolmessage.cc.
|
inlineinherited |
Gets the control message id
Definition at line 64 of file controlmessage.h.
EMANE::TimePoint EMANE::Controls::TimeStampControlMessage::getTimeStamp | ( | ) | 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.