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 () | |
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 | |
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 28 of file ul-mac-messages.h.
ns3::UcdChannelEncodings::UcdChannelEncodings | ( | ) |
Definition at line 20 of file ul-mac-messages.cc.
|
virtual |
Definition at line 27 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 | ( | ) | const |
Get BW request opp size.
Definition at line 50 of file ul-mac-messages.cc.
References m_bwReqOppSize.
uint32_t ns3::UcdChannelEncodings::GetFrequency | ( | ) | const |
Get frequency.
Definition at line 62 of file ul-mac-messages.cc.
References m_frequency.
uint16_t ns3::UcdChannelEncodings::GetRangReqOppSize | ( | ) | const |
Get range request opp size.
Definition at line 56 of file ul-mac-messages.cc.
References m_rangReqOppSize.
uint16_t ns3::UcdChannelEncodings::GetSize | ( | ) | const |
Get size.
Definition at line 68 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 84 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().
void ns3::UcdChannelEncodings::SetBwReqOppSize | ( | uint16_t | bwReqOppSize | ) |
Set BW request opp size.
bwReqOppSize | the bandwidth request opp size |
Definition at line 32 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 44 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 38 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 74 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().
|
private |
BW request opp size.
Definition at line 99 of file ul-mac-messages.h.
Referenced by GetBwReqOppSize(), Read(), SetBwReqOppSize(), and Write().
|
private |
frequency
Definition at line 101 of file ul-mac-messages.h.
Referenced by GetFrequency(), Read(), SetFrequency(), and Write().
|
private |
range request opp size
Definition at line 100 of file ul-mac-messages.h.
Referenced by GetRangReqOppSize(), Read(), SetRangReqOppSize(), and Write().