EMANE
1.2.1
|
R2RI Queue Metric Control Message is sent to an NEM's transport layer to convey information about MAC layer queues. More...
#include <r2riqueuemetriccontrolmessage.h>
Public Types | |
enum | { IDENTIFIER = EMANE_CONTROL_MEASSGE_R2RI_QUEUE_METRIC } |
Public Member Functions | |
R2RIQueueMetricControlMessage * | clone () const override |
~R2RIQueueMetricControlMessage () | |
const R2RIQueueMetrics & | getQueueMetrics () const |
std::string | serialize () const override |
ControlMessageId | getId () const |
Static Public Member Functions | |
static R2RIQueueMetricControlMessage * | create (const Serialization &serialization) |
static R2RIQueueMetricControlMessage * | create (const R2RIQueueMetrics &queueMetrics) |
R2RI Queue Metric Control Message is sent to an NEM's transport layer to convey information about MAC layer queues.
Definition at line 58 of file r2riqueuemetriccontrolmessage.h.
anonymous enum |
Enumerator | |
---|---|
IDENTIFIER |
Definition at line 125 of file r2riqueuemetriccontrolmessage.h.
EMANE::Controls::R2RIQueueMetricControlMessage::~R2RIQueueMetricControlMessage | ( | ) |
Destroys an instance
Definition at line 60 of file r2riqueuemetriccontrolmessage.cc.
|
overridevirtual |
Clones the control message on the heap
Implements EMANE::Cloneable< ControlMessage >.
Definition at line 134 of file r2riqueuemetriccontrolmessage.cc.
|
static |
Creates an R2RIQueueMetricControlMessage from a serialization on the heap
serialization | Message serialization |
SerializationException | when a valid message cannot be de-serialized |
Definition at line 108 of file r2riqueuemetriccontrolmessage.cc.
|
static |
Creates an R2RIQueueMetricControlMessage on the heap
queueMetrics | Queue metrics |
Definition at line 73 of file r2riqueuemetriccontrolmessage.cc.
|
inlineinherited |
Gets the control message id
Definition at line 64 of file controlmessage.h.
const EMANE::Controls::R2RIQueueMetrics & EMANE::Controls::R2RIQueueMetricControlMessage::getQueueMetrics | ( | ) | const |
Gets the queue metrics
Definition at line 67 of file r2riqueuemetriccontrolmessage.cc.
|
overridevirtual |
Serializes the instance
SerializationException | if the instance cannot be serialized |
Reimplemented from EMANE::Serializable.
Definition at line 78 of file r2riqueuemetriccontrolmessage.cc.