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

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

+ Inheritance diagram for ns3::LteCqiSinrChunkProcessor:
+ Collaboration diagram for ns3::LteCqiSinrChunkProcessor:

Public Member Functions

 LteCqiSinrChunkProcessor (Ptr< LtePhy > p)
virtual ~LteCqiSinrChunkProcessor ()
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 ()
 SimpleRefCount (const SimpleRefCount &o)
uint32_t GetReferenceCount (void) const
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const

Private Attributes

Ptr< LtePhym_phy
Ptr< SpectrumValuem_sumSinr
Time m_totDuration

Additional Inherited Members

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

Detailed Description

This SinrProcessor averages the calculated SINR over time.

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

Constructor & Destructor Documentation

ns3::LteCqiSinrChunkProcessor::~LteCqiSinrChunkProcessor ( )
virtual

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

References NS_LOG_FUNCTION.

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

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

References m_phy, NS_ASSERT, and NS_LOG_FUNCTION.

Member Function Documentation

void ns3::LteCqiSinrChunkProcessor::End ( void  )
virtual

Implements ns3::LteSinrChunkProcessor.

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

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

+ Here is the call graph for this function:

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

Implements ns3::LteSinrChunkProcessor.

Definition at line 60 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::LteCqiSinrChunkProcessor::Start ( void  )
virtual

Implements ns3::LteSinrChunkProcessor.

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

References m_sumSinr, m_totDuration, ns3::MicroSeconds(), and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

Member Data Documentation

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

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

Referenced by End(), and LteCqiSinrChunkProcessor().

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

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

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

Time ns3::LteCqiSinrChunkProcessor::m_totDuration
private

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

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


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