This custom LteSinrChunkProcessor averages the calculated SINR over time. More...
#include <lte-test-sinr-chunk-processor.h>
Public Member Functions | |
LteTestSinrChunkProcessor (Ptr< LtePhy > p) | |
virtual | ~LteTestSinrChunkProcessor () |
virtual void | End () |
virtual void | EvaluateSinrChunk (const SpectrumValue &sinr, Time duration) |
Ptr< SpectrumValue > | GetSinr () |
virtual void | Start () |
![]() | |
virtual | ~LteSinrChunkProcessor () |
![]() | |
SimpleRefCount () | |
Constructor. More... | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (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< LtePhy > | m_phy |
Ptr< SpectrumValue > | m_sinr |
Ptr< SpectrumValue > | m_sumSinr |
Time | m_totDuration |
Additional Inherited Members | |
![]() | |
static void | Cleanup (void) |
Noop. More... | |
This custom LteSinrChunkProcessor averages the calculated SINR over time.
It is plugged on the receiving SpectrumPhy and therefore receives the SINR SpectrumValue calculated by the LteInterference module.
Definition at line 35 of file lte-test-sinr-chunk-processor.h.
Definition at line 31 of file lte-test-sinr-chunk-processor.cc.
References m_phy, NS_ASSERT, and NS_LOG_FUNCTION.
|
virtual |
Definition at line 38 of file lte-test-sinr-chunk-processor.cc.
References NS_LOG_FUNCTION.
|
virtual |
Implements ns3::LteSinrChunkProcessor.
Definition at line 66 of file lte-test-sinr-chunk-processor.cc.
References ns3::Time::GetSeconds(), m_sinr, m_sumSinr, m_totDuration, NS_LOG_FUNCTION, NS_LOG_LOGIC, and NS_LOG_WARN.
|
virtual |
Implements ns3::LteSinrChunkProcessor.
Definition at line 52 of file lte-test-sinr-chunk-processor.cc.
References ns3::Time::GetSeconds(), ns3::SpectrumValue::GetSpectrumModel(), m_sumSinr, m_totDuration, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
Ptr< SpectrumValue > ns3::LteTestSinrChunkProcessor::GetSinr | ( | ) |
Definition at line 83 of file lte-test-sinr-chunk-processor.cc.
References m_sinr, NS_ASSERT, and NS_LOG_FUNCTION.
|
virtual |
Implements ns3::LteSinrChunkProcessor.
Definition at line 44 of file lte-test-sinr-chunk-processor.cc.
References m_sumSinr, m_totDuration, and NS_LOG_FUNCTION.
Definition at line 51 of file lte-test-sinr-chunk-processor.h.
Referenced by LteTestSinrChunkProcessor().
|
private |
Definition at line 49 of file lte-test-sinr-chunk-processor.h.
|
private |
Definition at line 48 of file lte-test-sinr-chunk-processor.h.
Referenced by End(), EvaluateSinrChunk(), and Start().
|
private |
Definition at line 50 of file lte-test-sinr-chunk-processor.h.
Referenced by End(), EvaluateSinrChunk(), and Start().