ns3::SatBeamScheduler::CnoCompare Class Reference

CnoCompare class to sort UT request according to C/N0 information. More...

+ Collaboration diagram for ns3::SatBeamScheduler::CnoCompare:

Public Member Functions

 CnoCompare (const UtInfoMap_t &utInfoMap)
 Construct CnoCompare object. More...
 
bool operator() (UtReqInfoItem_t utReqInfo1, UtReqInfoItem_t utReqInfo2)
 Compare operator to compare request information of the two UTs. More...
 

Private Attributes

const UtInfoMap_tm_utInfoMap
 Reference to map container for the UT information. More...
 

Detailed Description

CnoCompare class to sort UT request according to C/N0 information.

Definition at line 409 of file satellite-beam-scheduler.h.

Constructor & Destructor Documentation

◆ CnoCompare()

ns3::SatBeamScheduler::CnoCompare::CnoCompare ( const UtInfoMap_t utInfoMap)
inline

Construct CnoCompare object.

Parameters
utInfoMapReference to map container for the UT information

Definition at line 417 of file satellite-beam-scheduler.h.

Member Function Documentation

◆ operator()()

bool ns3::SatBeamScheduler::CnoCompare::operator() ( UtReqInfoItem_t  utReqInfo1,
UtReqInfoItem_t  utReqInfo2 
)
inline

Compare operator to compare request information of the two UTs.

Parameters
utReqInfo1Request information for UT 1
utReqInfo2Request information for UT 2
Returns
true if first UT's C/N0 is more robust than second UT's

Definition at line 429 of file satellite-beam-scheduler.h.

References m_utInfoMap.

Member Data Documentation

◆ m_utInfoMap

const UtInfoMap_t& ns3::SatBeamScheduler::CnoCompare::m_utInfoMap
private

Reference to map container for the UT information.

Definition at line 455 of file satellite-beam-scheduler.h.

Referenced by operator()().


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