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"
Public Member Functions | |
UcdChannelEncodings (void) | |
virtual | ~UcdChannelEncodings (void) |
uint16_t | GetBwReqOppSize (void) const |
Get BW request opp size. More... | |
uint32_t | GetFrequency (void) const |
Get frequency. More... | |
uint16_t | GetRangReqOppSize (void) const |
Get range request opp size. More... | |
uint16_t | GetSize (void) const |
Get size. More... | |
Buffer::Iterator | Read (Buffer::Iterator start) |
Read item. More... | |
void | SetBwReqOppSize (uint16_t bwReqOppSize) |
Set BW request opp size. More... | |
void | SetFrequency (uint32_t frequency) |
Set frequency. More... | |
void | SetRangReqOppSize (uint16_t rangReqOppSize) |
Set range request opp size. More... | |
Buffer::Iterator | Write (Buffer::Iterator start) const |
Write item. More... | |
Private Member Functions | |
virtual Buffer::Iterator | DoRead (Buffer::Iterator start)=0 |
Read item. More... | |
virtual Buffer::Iterator | DoWrite (Buffer::Iterator start) const =0 |
Write item. More... | |
Private Attributes | |
uint16_t | m_bwReqOppSize |
BW request opp size. More... | |
uint32_t | m_frequency |
frequency More... | |
uint16_t | m_rangReqOppSize |
range request opp size More... | |
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.
ns3::UcdChannelEncodings::UcdChannelEncodings | ( | void | ) |
Definition at line 30 of file ul-mac-messages.cc.
|
virtual |
Definition at line 37 of file ul-mac-messages.cc.
|
privatepure virtual |
Read item.
start | the iterator |
Implemented in ns3::OfdmUcdChannelEncodings.
Referenced by Read().
|
privatepure virtual |
Write item.
start | the iterator |
Implemented in ns3::OfdmUcdChannelEncodings.
Referenced by Write().
uint16_t ns3::UcdChannelEncodings::GetBwReqOppSize | ( | void | ) | const |
Get BW request opp size.
Definition at line 60 of file ul-mac-messages.cc.
References m_bwReqOppSize.
uint32_t ns3::UcdChannelEncodings::GetFrequency | ( | void | ) | const |
Get frequency.
Definition at line 72 of file ul-mac-messages.cc.
References m_frequency.
uint16_t ns3::UcdChannelEncodings::GetRangReqOppSize | ( | void | ) | const |
Get range request opp size.
Definition at line 66 of file ul-mac-messages.cc.
References m_rangReqOppSize.
uint16_t ns3::UcdChannelEncodings::GetSize | ( | void | ) | const |
Get size.
Definition at line 78 of file ul-mac-messages.cc.
Referenced by ns3::OfdmUcdChannelEncodings::GetSize().
Buffer::Iterator ns3::UcdChannelEncodings::Read | ( | Buffer::Iterator | start | ) |
Read item.
start | the iterator |
Definition at line 94 of file ul-mac-messages.cc.
References DoRead(), m_bwReqOppSize, m_frequency, m_rangReqOppSize, ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU32(), and visualizer.core::start().
Referenced by ns3::Ucd::Deserialize().
void ns3::UcdChannelEncodings::SetBwReqOppSize | ( | uint16_t | bwReqOppSize | ) |
Set BW request opp size.
bwReqOppSize | the bandwidth request opp size |
Definition at line 42 of file ul-mac-messages.cc.
References m_bwReqOppSize.
Referenced by ns3::BaseStationNetDevice::CreateUcd().
void ns3::UcdChannelEncodings::SetFrequency | ( | uint32_t | frequency | ) |
Set frequency.
frequency | the frequency |
Definition at line 54 of file ul-mac-messages.cc.
References m_frequency.
Referenced by ns3::BaseStationNetDevice::CreateUcd().
void ns3::UcdChannelEncodings::SetRangReqOppSize | ( | uint16_t | rangReqOppSize | ) |
Set range request opp size.
rangReqOppSize | the ranging request opp size |
Definition at line 48 of file ul-mac-messages.cc.
References m_rangReqOppSize.
Referenced by ns3::BaseStationNetDevice::CreateUcd().
Buffer::Iterator ns3::UcdChannelEncodings::Write | ( | Buffer::Iterator | start | ) | const |
Write item.
start | the iterator |
Definition at line 84 of file ul-mac-messages.cc.
References DoWrite(), m_bwReqOppSize, m_frequency, m_rangReqOppSize, visualizer.core::start(), ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU32().
Referenced by ns3::Ucd::Serialize().
|
private |
BW request opp size.
Definition at line 110 of file ul-mac-messages.h.
Referenced by GetBwReqOppSize(), Read(), SetBwReqOppSize(), and Write().
|
private |
frequency
Definition at line 112 of file ul-mac-messages.h.
Referenced by GetFrequency(), Read(), SetFrequency(), and Write().
|
private |
range request opp size
Definition at line 111 of file ul-mac-messages.h.
Referenced by GetRangReqOppSize(), Read(), SetRangReqOppSize(), and Write().