This class implements the UL-MAP_IE message as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 6.3.2.3.43.7 UL-MAP_IE, page 115. More...
#include "ul-mac-messages.h"
Public Member Functions | |
OfdmUlMapIe (void) | |
~OfdmUlMapIe (void) | |
Cid | GetCid (void) const |
Get CID. More... | |
uint16_t | GetDuration (void) const |
Get duration. More... | |
uint8_t | GetMidambleRepetitionInterval (void) const |
Get Midamble repetition interval. More... | |
uint16_t | GetSize (void) const |
Get size. More... | |
uint16_t | GetStartTime (void) const |
Get start time. More... | |
uint8_t | GetSubchannelIndex (void) const |
Get subchannel index. More... | |
uint8_t | GetUiuc (void) const |
Get UIUC. More... | |
Buffer::Iterator | Read (Buffer::Iterator start) |
Read item. More... | |
void | SetCid (const Cid &cid) |
Set CID. More... | |
void | SetDuration (uint16_t duration) |
Set duration. More... | |
void | SetMidambleRepetitionInterval (uint8_t midambleRepetitionInterval) |
Set midambe repetition interval. More... | |
void | SetStartTime (uint16_t startTime) |
Set start time. More... | |
void | SetSubchannelIndex (uint8_t subchannelIndex) |
Set subchannel index. More... | |
void | SetUiuc (uint8_t uiuc) |
Set UIUC. More... | |
Buffer::Iterator | Write (Buffer::Iterator start) const |
Write item. More... | |
Private Attributes | |
Cid | m_cid |
CID. More... | |
uint16_t | m_duration |
duration More... | |
uint8_t | m_midambleRepetitionInterval |
midamble repetition interval More... | |
uint16_t | m_startTime |
start time More... | |
uint8_t | m_subchannelIndex |
subchannel index More... | |
uint8_t | m_uiuc |
UIUC. More... | |
This class implements the UL-MAP_IE message as described by "IEEE Standard for Local and metropolitan area networks Part 16: Air Interface for Fixed Broadband Wireless Access Systems" 6.3.2.3.43.7 UL-MAP_IE, page 115.
Definition at line 452 of file ul-mac-messages.h.
ns3::OfdmUlMapIe::OfdmUlMapIe | ( | void | ) |
Definition at line 460 of file ul-mac-messages.cc.
ns3::OfdmUlMapIe::~OfdmUlMapIe | ( | void | ) |
Definition at line 470 of file ul-mac-messages.cc.
Cid ns3::OfdmUlMapIe::GetCid | ( | void | ) | const |
Get CID.
Definition at line 512 of file ul-mac-messages.cc.
References m_cid.
Referenced by ns3::BaseStationNetDevice::MarkUplinkAllocations(), and ns3::SubscriberStationNetDevice::ProcessUlMap().
uint16_t ns3::OfdmUlMapIe::GetDuration | ( | void | ) | const |
Get duration.
Definition at line 536 of file ul-mac-messages.cc.
References m_duration.
Referenced by ns3::BaseStationNetDevice::MarkUplinkAllocations(), and ns3::SubscriberStationNetDevice::ProcessUlMap().
uint8_t ns3::OfdmUlMapIe::GetMidambleRepetitionInterval | ( | void | ) | const |
Get Midamble repetition interval.
Definition at line 542 of file ul-mac-messages.cc.
References m_midambleRepetitionInterval.
uint16_t ns3::OfdmUlMapIe::GetSize | ( | void | ) | const |
Get size.
Definition at line 548 of file ul-mac-messages.cc.
Referenced by ns3::UlMap::GetSerializedSize().
uint16_t ns3::OfdmUlMapIe::GetStartTime | ( | void | ) | const |
Get start time.
Definition at line 518 of file ul-mac-messages.cc.
References m_startTime.
Referenced by ns3::BaseStationNetDevice::MarkUplinkAllocations(), and ns3::SubscriberStationNetDevice::ProcessUlMap().
uint8_t ns3::OfdmUlMapIe::GetSubchannelIndex | ( | void | ) | const |
Get subchannel index.
Definition at line 524 of file ul-mac-messages.cc.
References m_subchannelIndex.
uint8_t ns3::OfdmUlMapIe::GetUiuc | ( | void | ) | const |
Get UIUC.
Definition at line 530 of file ul-mac-messages.cc.
References m_uiuc.
Referenced by ns3::UlMap::Deserialize(), ns3::BaseStationNetDevice::MarkUplinkAllocations(), ns3::SubscriberStationNetDevice::ProcessUlMap(), ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(), and ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants().
Buffer::Iterator ns3::OfdmUlMapIe::Read | ( | Buffer::Iterator | start | ) |
Read item.
start | the iterator |
Definition at line 567 of file ul-mac-messages.cc.
References m_cid, m_duration, m_midambleRepetitionInterval, m_startTime, m_subchannelIndex, m_uiuc, ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU8(), and visualizer.core::start().
Referenced by ns3::UlMap::Deserialize().
void ns3::OfdmUlMapIe::SetCid | ( | const Cid & | cid | ) |
Set CID.
cid | the CID |
Definition at line 475 of file ul-mac-messages.cc.
References m_cid.
Referenced by ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), ns3::UplinkSchedulerSimple::Schedule(), and ns3::UplinkSchedulerRtps::ULSchedulerRTPSConnection().
void ns3::OfdmUlMapIe::SetDuration | ( | uint16_t | duration | ) |
Set duration.
duration | the duration |
Definition at line 499 of file ul-mac-messages.cc.
References m_duration.
Referenced by ns3::UplinkSchedulerMBQoS::AddUplinkAllocation(), ns3::UplinkSchedulerRtps::AddUplinkAllocation(), ns3::UplinkSchedulerSimple::AddUplinkAllocation(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), and ns3::UplinkSchedulerSimple::Schedule().
void ns3::OfdmUlMapIe::SetMidambleRepetitionInterval | ( | uint8_t | midambleRepetitionInterval | ) |
Set midambe repetition interval.
midambleRepetitionInterval | the midambe repetition interval |
Definition at line 505 of file ul-mac-messages.cc.
References m_midambleRepetitionInterval.
void ns3::OfdmUlMapIe::SetStartTime | ( | uint16_t | startTime | ) |
Set start time.
startTime | the start time |
Definition at line 481 of file ul-mac-messages.cc.
References m_startTime, and startTime.
Referenced by ns3::UplinkSchedulerMBQoS::AddUplinkAllocation(), ns3::UplinkSchedulerRtps::AddUplinkAllocation(), ns3::UplinkSchedulerSimple::AddUplinkAllocation(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), ns3::UplinkSchedulerSimple::Schedule(), ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(), and ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants().
void ns3::OfdmUlMapIe::SetSubchannelIndex | ( | uint8_t | subchannelIndex | ) |
Set subchannel index.
subchannelIndex |
Definition at line 487 of file ul-mac-messages.cc.
References m_subchannelIndex.
void ns3::OfdmUlMapIe::SetUiuc | ( | uint8_t | uiuc | ) |
Set UIUC.
uiuc | the UIUC |
Definition at line 493 of file ul-mac-messages.cc.
References m_uiuc.
Referenced by ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UplinkSchedulerRtps::Schedule(), ns3::UplinkSchedulerSimple::Schedule(), ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants(), and ns3::UplinkSchedulerRtps::ULSchedulerRTPSConnection().
Buffer::Iterator ns3::OfdmUlMapIe::Write | ( | Buffer::Iterator | start | ) | const |
Write item.
start | the iterator |
Definition at line 554 of file ul-mac-messages.cc.
References ns3::Cid::GetIdentifier(), m_cid, m_duration, m_midambleRepetitionInterval, m_startTime, m_subchannelIndex, m_uiuc, visualizer.core::start(), ns3::Buffer::Iterator::WriteU16(), and ns3::Buffer::Iterator::WriteU8().
Referenced by ns3::UlMap::Serialize().
|
private |
|
private |
duration
Definition at line 543 of file ul-mac-messages.h.
Referenced by GetDuration(), Read(), SetDuration(), and Write().
|
private |
midamble repetition interval
Definition at line 544 of file ul-mac-messages.h.
Referenced by GetMidambleRepetitionInterval(), Read(), SetMidambleRepetitionInterval(), and Write().
|
private |
start time
Definition at line 540 of file ul-mac-messages.h.
Referenced by GetStartTime(), Read(), SetStartTime(), and Write().
|
private |
subchannel index
Definition at line 541 of file ul-mac-messages.h.
Referenced by GetSubchannelIndex(), Read(), SetSubchannelIndex(), and Write().
|
private |