A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::UcdChannelEncodings Class Referenceabstract

This class implements the UCD channel encodings as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 11.3.1 UCD channel encodings, page 651. More...

#include "ul-mac-messages.h"

+ Inheritance diagram for ns3::UcdChannelEncodings:
+ Collaboration diagram for ns3::UcdChannelEncodings:

Public Member Functions

 UcdChannelEncodings ()
 
virtual ~UcdChannelEncodings ()
 
uint16_t GetBwReqOppSize () const
 Get BW request opp size.
 
uint32_t GetFrequency () const
 Get frequency.
 
uint16_t GetRangReqOppSize () const
 Get range request opp size.
 
uint16_t GetSize () const
 Get size.
 
Buffer::Iterator Read (Buffer::Iterator start)
 Read item.
 
void SetBwReqOppSize (uint16_t bwReqOppSize)
 Set BW request opp size.
 
void SetFrequency (uint32_t frequency)
 Set frequency.
 
void SetRangReqOppSize (uint16_t rangReqOppSize)
 Set range request opp size.
 
Buffer::Iterator Write (Buffer::Iterator start) const
 Write item.
 

Private Member Functions

virtual Buffer::Iterator DoRead (Buffer::Iterator start)=0
 Read item.
 
virtual Buffer::Iterator DoWrite (Buffer::Iterator start) const =0
 Write item.
 

Private Attributes

uint16_t m_bwReqOppSize
 BW request opp size.
 
uint32_t m_frequency
 frequency
 
uint16_t m_rangReqOppSize
 range request opp size
 

Detailed Description

This class implements the UCD channel encodings as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 11.3.1 UCD channel encodings, page 651.

Definition at line 39 of file ul-mac-messages.h.

Constructor & Destructor Documentation

◆ UcdChannelEncodings()

ns3::UcdChannelEncodings::UcdChannelEncodings ( )

Definition at line 31 of file ul-mac-messages.cc.

◆ ~UcdChannelEncodings()

ns3::UcdChannelEncodings::~UcdChannelEncodings ( )
virtual

Definition at line 38 of file ul-mac-messages.cc.

Member Function Documentation

◆ DoRead()

virtual Buffer::Iterator ns3::UcdChannelEncodings::DoRead ( Buffer::Iterator  start)
privatepure virtual

Read item.

Parameters
startthe iterator
Returns
the updated iterator

Implemented in ns3::OfdmUcdChannelEncodings.

Referenced by Read().

+ Here is the caller graph for this function:

◆ DoWrite()

virtual Buffer::Iterator ns3::UcdChannelEncodings::DoWrite ( Buffer::Iterator  start) const
privatepure virtual

Write item.

Parameters
startthe iterator
Returns
the updated iterator

Implemented in ns3::OfdmUcdChannelEncodings.

Referenced by Write().

+ Here is the caller graph for this function:

◆ GetBwReqOppSize()

uint16_t ns3::UcdChannelEncodings::GetBwReqOppSize ( ) const

Get BW request opp size.

Returns
the bandwidth request opp size

Definition at line 61 of file ul-mac-messages.cc.

References m_bwReqOppSize.

◆ GetFrequency()

uint32_t ns3::UcdChannelEncodings::GetFrequency ( ) const

Get frequency.

Returns
the frequency

Definition at line 73 of file ul-mac-messages.cc.

References m_frequency.

◆ GetRangReqOppSize()

uint16_t ns3::UcdChannelEncodings::GetRangReqOppSize ( ) const

Get range request opp size.

Returns
the ragning request opp size

Definition at line 67 of file ul-mac-messages.cc.

References m_rangReqOppSize.

◆ GetSize()

uint16_t ns3::UcdChannelEncodings::GetSize ( ) const

Get size.

Returns
the size

Definition at line 79 of file ul-mac-messages.cc.

Referenced by ns3::OfdmUcdChannelEncodings::GetSize().

+ Here is the caller graph for this function:

◆ Read()

Buffer::Iterator ns3::UcdChannelEncodings::Read ( Buffer::Iterator  start)

Read item.

Parameters
startthe iterator
Returns
the updated iterator

Definition at line 95 of file ul-mac-messages.cc.

References DoRead(), m_bwReqOppSize, m_frequency, m_rangReqOppSize, ns3::Buffer::Iterator::ReadU16(), and ns3::Buffer::Iterator::ReadU32().

Referenced by ns3::Ucd::Deserialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBwReqOppSize()

void ns3::UcdChannelEncodings::SetBwReqOppSize ( uint16_t  bwReqOppSize)

Set BW request opp size.

Parameters
bwReqOppSizethe bandwidth request opp size

Definition at line 43 of file ul-mac-messages.cc.

References m_bwReqOppSize.

Referenced by ns3::BaseStationNetDevice::CreateUcd().

+ Here is the caller graph for this function:

◆ SetFrequency()

void ns3::UcdChannelEncodings::SetFrequency ( uint32_t  frequency)

Set frequency.

Parameters
frequencythe frequency

Definition at line 55 of file ul-mac-messages.cc.

References m_frequency.

Referenced by ns3::BaseStationNetDevice::CreateUcd().

+ Here is the caller graph for this function:

◆ SetRangReqOppSize()

void ns3::UcdChannelEncodings::SetRangReqOppSize ( uint16_t  rangReqOppSize)

Set range request opp size.

Parameters
rangReqOppSizethe ranging request opp size

Definition at line 49 of file ul-mac-messages.cc.

References m_rangReqOppSize.

Referenced by ns3::BaseStationNetDevice::CreateUcd().

+ Here is the caller graph for this function:

◆ Write()

Buffer::Iterator ns3::UcdChannelEncodings::Write ( Buffer::Iterator  start) const

Write item.

Parameters
startthe iterator
Returns
the updated iterator

Definition at line 85 of file ul-mac-messages.cc.

References DoWrite(), m_bwReqOppSize, m_frequency, m_rangReqOppSize, ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU32().

Referenced by ns3::Ucd::Serialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_bwReqOppSize

uint16_t ns3::UcdChannelEncodings::m_bwReqOppSize
private

BW request opp size.

Definition at line 110 of file ul-mac-messages.h.

Referenced by GetBwReqOppSize(), Read(), SetBwReqOppSize(), and Write().

◆ m_frequency

uint32_t ns3::UcdChannelEncodings::m_frequency
private

frequency

Definition at line 112 of file ul-mac-messages.h.

Referenced by GetFrequency(), Read(), SetFrequency(), and Write().

◆ m_rangReqOppSize

uint16_t ns3::UcdChannelEncodings::m_rangReqOppSize
private

range request opp size

Definition at line 111 of file ul-mac-messages.h.

Referenced by GetRangReqOppSize(), Read(), SetRangReqOppSize(), and Write().


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