SatFrameAllocInfo is used to hold a frame's allocation info in symbols. More...
Public Member Functions | |
SatFrameAllocInfo () | |
Construct empty SatFrameAllocInfo. More... | |
SatFrameAllocInfo (SatFrameAllocReqItemContainer_t &req, Ptr< SatWaveform > trcWaveForm, bool ctrlSlotPresent, double ctrlSlotLength) | |
Construct SatFrameAllocInfo from SatFrameAllocReqItem items. More... | |
SatFrameAllocInfo (uint8_t countOfRcs) | |
Construct empty SatFrameAllocInfo with given number of RCs. More... | |
double | GetTotalSymbols () |
Get total symbols of the item. More... | |
SatFrameAllocInfoItem | UpdateTotalCounts () |
Update total count of SatFrameAllocInfo from RCs. More... | |
Public Attributes | |
SatFrameAllocInfoItemContainer_t | m_allocInfoPerRc |
Information for the RCs. More... | |
double | m_craSymbols |
bool | m_ctrlSlotPresent |
double | m_minRbdcSymbols |
double | m_rbdcSymbols |
double | m_vbdcSymbols |
SatFrameAllocInfo is used to hold a frame's allocation info in symbols.
It is used for both requested and actual allocations.
Definition at line 343 of file satellite-frame-allocator.h.
ns3::SatFrameAllocator::SatFrameAllocInfo::SatFrameAllocInfo | ( | ) |
Construct empty SatFrameAllocInfo.
Definition at line 41 of file satellite-frame-allocator.cc.
ns3::SatFrameAllocator::SatFrameAllocInfo::SatFrameAllocInfo | ( | uint8_t | countOfRcs | ) |
Construct empty SatFrameAllocInfo with given number of RCs.
Definition at line 51 of file satellite-frame-allocator.cc.
References m_allocInfoPerRc.
ns3::SatFrameAllocator::SatFrameAllocInfo::SatFrameAllocInfo | ( | SatFrameAllocReqItemContainer_t & | req, |
Ptr< SatWaveform > | trcWaveForm, | ||
bool | ctrlSlotPresent, | ||
double | ctrlSlotLength | ||
) |
Construct SatFrameAllocInfo from SatFrameAllocReqItem items.
req | Reference to container having SatFrameAllocReqItem items. |
waveForm | Waveform to use in allocation for TRC slots. |
ctrlSlotLength | Slot length in symbols for control slots. |
Definition at line 63 of file satellite-frame-allocator.cc.
References m_allocInfoPerRc, ns3::SatFrameAllocator::SatFrameAllocInfoItem::m_craSymbols, m_craSymbols, m_ctrlSlotPresent, ns3::SatFrameAllocator::SatFrameAllocInfoItem::m_minRbdcSymbols, m_minRbdcSymbols, ns3::SatFrameAllocator::SatFrameAllocInfoItem::m_rbdcSymbols, m_rbdcSymbols, ns3::SatFrameAllocator::SatFrameAllocInfoItem::m_vbdcSymbols, and m_vbdcSymbols.
double ns3::SatFrameAllocator::SatFrameAllocInfo::GetTotalSymbols | ( | ) |
SatFrameAllocator::SatFrameAllocInfoItem ns3::SatFrameAllocator::SatFrameAllocInfo::UpdateTotalCounts | ( | ) |
Update total count of SatFrameAllocInfo from RCs.
Definition at line 105 of file satellite-frame-allocator.cc.
References ns3::SatFrameAllocator::SatFrameAllocInfoItem::m_craSymbols, ns3::SatFrameAllocator::SatFrameAllocInfoItem::m_minRbdcSymbols, ns3::SatFrameAllocator::SatFrameAllocInfoItem::m_rbdcSymbols, and ns3::SatFrameAllocator::SatFrameAllocInfoItem::m_vbdcSymbols.
SatFrameAllocInfoItemContainer_t ns3::SatFrameAllocator::SatFrameAllocInfo::m_allocInfoPerRc |
Information for the RCs.
Definition at line 355 of file satellite-frame-allocator.h.
Referenced by SatFrameAllocInfo(), and ns3::SatFrameAllocator::UpdateAndStoreAllocReq().
double ns3::SatFrameAllocator::SatFrameAllocInfo::m_craSymbols |
Definition at line 347 of file satellite-frame-allocator.h.
Referenced by SatFrameAllocInfo(), ns3::SatFrameAllocator::Allocate(), and ns3::SatFrameAllocator::UpdateAndStoreAllocReq().
bool ns3::SatFrameAllocator::SatFrameAllocInfo::m_ctrlSlotPresent |
Definition at line 346 of file satellite-frame-allocator.h.
Referenced by SatFrameAllocInfo().
double ns3::SatFrameAllocator::SatFrameAllocInfo::m_minRbdcSymbols |
Definition at line 348 of file satellite-frame-allocator.h.
Referenced by SatFrameAllocInfo(), ns3::SatFrameAllocator::Allocate(), and ns3::SatFrameAllocator::UpdateAndStoreAllocReq().
double ns3::SatFrameAllocator::SatFrameAllocInfo::m_rbdcSymbols |
Definition at line 349 of file satellite-frame-allocator.h.
Referenced by SatFrameAllocInfo(), ns3::SatFrameAllocator::Allocate(), and ns3::SatFrameAllocator::UpdateAndStoreAllocReq().
double ns3::SatFrameAllocator::SatFrameAllocInfo::m_vbdcSymbols |
Definition at line 350 of file satellite-frame-allocator.h.
Referenced by SatFrameAllocInfo(), ns3::SatFrameAllocator::Allocate(), and ns3::SatFrameAllocator::UpdateAndStoreAllocReq().