EMANE  1.2.1
EMANE::Models::IEEE80211ABG::MACHeaderMessage Class Reference

#include <ieee80211abgmacheadermessage.h>

Inheritance diagram for EMANE::Models::IEEE80211ABG::MACHeaderMessage:
EMANE::Serializable

Public Member Functions

 MACHeaderMessage (std::uint8_t u8MessageType, std::uint8_t u8NumRetries, std::uint16_t u16DataRateIndex, std::uint16_t u16SequenceNumber, std::uint16_t u16SrcNEM, std::uint16_t u16DstNEM, const Microseconds &duration)
 
 MACHeaderMessage (const void *p, size_t len)
 
 ~MACHeaderMessage ()
 
std::uint8_t getMessageType () const
 
std::uint8_t getNumRetries () const
 
std::uint16_t getDataRateIndex () const
 
std::uint16_t getSequenceNumber () const
 
std::uint16_t getSrcNEM () const
 
std::uint16_t getDstNEM () const
 
Microseconds getDurationMicroseconds () const
 
Serialization serialize () const override
 

Detailed Description

Definition at line 49 of file ieee80211abgmacheadermessage.h.

Constructor & Destructor Documentation

◆ MACHeaderMessage() [1/2]

EMANE::Models::IEEE80211ABG::MACHeaderMessage::MACHeaderMessage ( std::uint8_t  u8MessageType,
std::uint8_t  u8NumRetries,
std::uint16_t  u16DataRateIndex,
std::uint16_t  u16SequenceNumber,
std::uint16_t  u16SrcNEM,
std::uint16_t  u16DstNEM,
const Microseconds duration 
)

Definition at line 154 of file ieee80211abgmacheadermessage.cc.

◆ MACHeaderMessage() [2/2]

EMANE::Models::IEEE80211ABG::MACHeaderMessage::MACHeaderMessage ( const void *  p,
size_t  len 
)
Exceptions
SerializationException

Definition at line 173 of file ieee80211abgmacheadermessage.cc.

◆ ~MACHeaderMessage()

EMANE::Models::IEEE80211ABG::MACHeaderMessage::~MACHeaderMessage ( )

Definition at line 192 of file ieee80211abgmacheadermessage.cc.

Member Function Documentation

◆ getDataRateIndex()

std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderMessage::getDataRateIndex ( ) const

Definition at line 208 of file ieee80211abgmacheadermessage.cc.

◆ getDstNEM()

std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderMessage::getDstNEM ( ) const

Definition at line 223 of file ieee80211abgmacheadermessage.cc.

◆ getDurationMicroseconds()

EMANE::Microseconds EMANE::Models::IEEE80211ABG::MACHeaderMessage::getDurationMicroseconds ( ) const

Definition at line 228 of file ieee80211abgmacheadermessage.cc.

◆ getMessageType()

std::uint8_t EMANE::Models::IEEE80211ABG::MACHeaderMessage::getMessageType ( ) const

Definition at line 196 of file ieee80211abgmacheadermessage.cc.

◆ getNumRetries()

std::uint8_t EMANE::Models::IEEE80211ABG::MACHeaderMessage::getNumRetries ( ) const

Definition at line 202 of file ieee80211abgmacheadermessage.cc.

◆ getSequenceNumber()

std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderMessage::getSequenceNumber ( ) const

Definition at line 213 of file ieee80211abgmacheadermessage.cc.

◆ getSrcNEM()

std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderMessage::getSrcNEM ( ) const

Definition at line 218 of file ieee80211abgmacheadermessage.cc.

◆ serialize()

EMANE::Serialization EMANE::Models::IEEE80211ABG::MACHeaderMessage::serialize ( ) const
overridevirtual

Gets the serialized form of the object

Returns
serialization
Exceptions
SerializationException
Note
Most objects use Google Protocol Buffers to perform serialization. This is why the Serialization type is a std::string. The serialized data is binary, non-printable data. The std::string just provides a simple API.
https://developers.google.com/protocol-buffers/

Reimplemented from EMANE::Serializable.

Definition at line 235 of file ieee80211abgmacheadermessage.cc.


The documentation for this class was generated from the following files: