A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::LteCtrlSinrChunkProcessor Class Reference

The LteCtrlSinrChunkProcessor averages the calculated SINR over time for the Ctrl frame and therefore in charge of generating the CQI starting from the reference signals and the sinr values used for evaluating the decodification error probability of the control channels (PCFICH + PDCCH) More...

#include <lte-sinr-chunk-processor.h>

+ Inheritance diagram for ns3::LteCtrlSinrChunkProcessor:
+ Collaboration diagram for ns3::LteCtrlSinrChunkProcessor:

Public Member Functions

 LteCtrlSinrChunkProcessor (Ptr< LtePhy > p)
 
 LteCtrlSinrChunkProcessor (Ptr< LtePhy > p, Ptr< LteSpectrumPhy > s)
 
virtual ~LteCtrlSinrChunkProcessor ()
 
virtual void End ()
 
virtual void EvaluateSinrChunk (const SpectrumValue &sinr, Time duration)
 
virtual void Start ()
 
- Public Member Functions inherited from ns3::LteSinrChunkProcessor
virtual ~LteSinrChunkProcessor ()
 
- Public Member Functions inherited from ns3::SimpleRefCount< LteSinrChunkProcessor >
 SimpleRefCount ()
 Constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 

Private Attributes

Ptr< LtePhym_phy
 
Ptr< LteSpectrumPhym_spectrumPhy
 
Ptr< SpectrumValuem_sumSinr
 
Time m_totDuration
 

Additional Inherited Members

- Static Public Member Functions inherited from ns3::SimpleRefCount< LteSinrChunkProcessor >
static void Cleanup (void)
 Noop. More...
 

Detailed Description

The LteCtrlSinrChunkProcessor averages the calculated SINR over time for the Ctrl frame and therefore in charge of generating the CQI starting from the reference signals and the sinr values used for evaluating the decodification error probability of the control channels (PCFICH + PDCCH)

Definition at line 64 of file lte-sinr-chunk-processor.h.

Constructor & Destructor Documentation

ns3::LteCtrlSinrChunkProcessor::~LteCtrlSinrChunkProcessor ( )
virtual

Definition at line 58 of file lte-sinr-chunk-processor.cc.

References NS_LOG_FUNCTION.

ns3::LteCtrlSinrChunkProcessor::LteCtrlSinrChunkProcessor ( Ptr< LtePhy p)

Definition at line 40 of file lte-sinr-chunk-processor.cc.

References m_phy, NS_ASSERT, and NS_LOG_FUNCTION.

ns3::LteCtrlSinrChunkProcessor::LteCtrlSinrChunkProcessor ( Ptr< LtePhy p,
Ptr< LteSpectrumPhy s 
)

Definition at line 48 of file lte-sinr-chunk-processor.cc.

References m_phy, m_spectrumPhy, NS_ASSERT, and NS_LOG_FUNCTION.

Member Function Documentation

void ns3::LteCtrlSinrChunkProcessor::End ( void  )
virtual

Implements ns3::LteSinrChunkProcessor.

Definition at line 86 of file lte-sinr-chunk-processor.cc.

References ns3::Time::GetSeconds(), m_phy, m_spectrumPhy, m_sumSinr, m_totDuration, NS_LOG_FUNCTION, and NS_LOG_WARN.

+ Here is the call graph for this function:

void ns3::LteCtrlSinrChunkProcessor::EvaluateSinrChunk ( const SpectrumValue sinr,
Time  duration 
)
virtual

Implements ns3::LteSinrChunkProcessor.

Definition at line 74 of file lte-sinr-chunk-processor.cc.

References ns3::Time::GetSeconds(), ns3::SpectrumValue::GetSpectrumModel(), m_sumSinr, m_totDuration, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

void ns3::LteCtrlSinrChunkProcessor::Start ( void  )
virtual

Implements ns3::LteSinrChunkProcessor.

Definition at line 65 of file lte-sinr-chunk-processor.cc.

References m_sumSinr, m_totDuration, and NS_LOG_FUNCTION.

Member Data Documentation

Ptr<LtePhy> ns3::LteCtrlSinrChunkProcessor::m_phy
private

Definition at line 76 of file lte-sinr-chunk-processor.h.

Referenced by End(), and LteCtrlSinrChunkProcessor().

Ptr<LteSpectrumPhy> ns3::LteCtrlSinrChunkProcessor::m_spectrumPhy
private

Definition at line 77 of file lte-sinr-chunk-processor.h.

Referenced by End(), and LteCtrlSinrChunkProcessor().

Ptr<SpectrumValue> ns3::LteCtrlSinrChunkProcessor::m_sumSinr
private

Definition at line 74 of file lte-sinr-chunk-processor.h.

Referenced by End(), EvaluateSinrChunk(), and Start().

Time ns3::LteCtrlSinrChunkProcessor::m_totDuration
private

Definition at line 75 of file lte-sinr-chunk-processor.h.

Referenced by End(), EvaluateSinrChunk(), and Start().


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