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"
Collaboration diagram for ns3::LteSpectrumValueCatcher: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 |
A sink to be plugged to the callback of LteChunkProcessor allowing to save and later retrieve the latest reported value.
Definition at line 97 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.
Here is the call graph for this function:
|
private |
Definition at line 116 of file lte-chunk-processor.h.
Referenced by GetValue(), and ReportValue().