A sink to be plugged to the callback of LteChunkProcessor allowing to save and later retrieve the latest reported value. More...
#include "lte-chunk-processor.h"
Public Member Functions | |
Ptr< SpectrumValue > | GetValue () |
void | ReportValue (const SpectrumValue &value) |
function to be plugged to LteChunkProcessor::AddCallback () More... | |
Private Attributes | |
Ptr< SpectrumValue > | m_value |
spectrum value More... | |
A sink to be plugged to the callback of LteChunkProcessor allowing to save and later retrieve the latest reported value.
Definition at line 103 of file lte-chunk-processor.h.
Ptr< SpectrumValue > ns3::LteSpectrumValueCatcher::GetValue | ( | void | ) |
Definition at line 97 of file lte-chunk-processor.cc.
References m_value.
void ns3::LteSpectrumValueCatcher::ReportValue | ( | const SpectrumValue & | value | ) |
function to be plugged to LteChunkProcessor::AddCallback ()
value |
Definition at line 91 of file lte-chunk-processor.cc.
References ns3::SpectrumValue::Copy(), and m_value.
|
private |
spectrum value
Definition at line 122 of file lte-chunk-processor.h.
Referenced by GetValue(), and ReportValue().