ns3::SatFrameAllocator::CcReqCompare Class Reference

CcReqCompare class for CC type comparisons. More...

+ Collaboration diagram for ns3::SatFrameAllocator::CcReqCompare:

Public Types

enum  CcReqType_t { CC_TYPE_MIN_RBDC , CC_TYPE_RBDC , CC_TYPE_VBDC }
 Definition for different comparison types. More...
 

Public Member Functions

 CcReqCompare (const UtAllocContainer_t &utAllocContainer, CcReqCompare::CcReqType_t ccReqType)
 Construct CcReqCompare. More...
 
bool operator() (RcAllocItem_t rcAlloc1, RcAllocItem_t rcAlloc2)
 Comparison operator to compare two RC allocations. More...
 

Private Attributes

CcReqType_t m_ccReqType
 Type used for comparisons. More...
 
const UtAllocContainer_tm_utAllocContainer
 Reference to UT allocation container. More...
 

Detailed Description

CcReqCompare class for CC type comparisons.

Definition at line 417 of file satellite-frame-allocator.h.

Member Enumeration Documentation

◆ CcReqType_t

Definition for different comparison types.

Enumerator
CC_TYPE_MIN_RBDC 

CC_TYPE_MIN_RBDC.

CC_TYPE_RBDC 

CC_TYPE_RBDC.

CC_TYPE_VBDC 

CC_TYPE_VBDC.

Definition at line 423 of file satellite-frame-allocator.h.

Constructor & Destructor Documentation

◆ CcReqCompare()

ns3::SatFrameAllocator::CcReqCompare::CcReqCompare ( const UtAllocContainer_t utAllocContainer,
CcReqCompare::CcReqType_t  ccReqType 
)

Construct CcReqCompare.

Parameters
utAllocContainerReference to UT allocation container.
ccReqTypeType used for comparisons.

Definition at line 140 of file satellite-frame-allocator.cc.

Member Function Documentation

◆ operator()()

bool ns3::SatFrameAllocator::CcReqCompare::operator() ( RcAllocItem_t  rcAlloc1,
RcAllocItem_t  rcAlloc2 
)

Comparison operator to compare two RC allocations.

Parameters
rcAlloc1
rcAlloc2
Returns
false if first RC allocation is smaller than second.

Definition at line 148 of file satellite-frame-allocator.cc.

Member Data Documentation

◆ m_ccReqType

CcReqType_t ns3::SatFrameAllocator::CcReqCompare::m_ccReqType
private

Type used for comparisons.

Definition at line 457 of file satellite-frame-allocator.h.

◆ m_utAllocContainer

const UtAllocContainer_t& ns3::SatFrameAllocator::CcReqCompare::m_utAllocContainer
private

Reference to UT allocation container.

Definition at line 452 of file satellite-frame-allocator.h.


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