A Discrete-Event Network Simulator
API
ns3::LteSpectrumValueCatcher Class Reference

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< SpectrumValueGetValue ()
 
void ReportValue (const SpectrumValue &value)
 function to be plugged to LteChunkProcessor::AddCallback () More...
 

Private Attributes

Ptr< SpectrumValuem_value
 spectrum value More...
 

Detailed Description

A sink to be plugged to the callback of LteChunkProcessor allowing to save and later retrieve the latest reported value.

Definition at line 102 of file lte-chunk-processor.h.

Member Function Documentation

◆ GetValue()

◆ ReportValue()

void ns3::LteSpectrumValueCatcher::ReportValue ( const SpectrumValue value)

function to be plugged to LteChunkProcessor::AddCallback ()

Parameters
value

Definition at line 89 of file lte-chunk-processor.cc.

References m_value.

Member Data Documentation

◆ m_value

Ptr<SpectrumValue> ns3::LteSpectrumValueCatcher::m_value
private

spectrum value

Definition at line 120 of file lte-chunk-processor.h.

Referenced by GetValue(), and ReportValue().


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