SatChannelEstimationErrorContainer is responsible of adding a channel estimation error on top of raw measured SINR. More...
#include "satellite-channel-estimation-error-container.h"
Public Member Functions | |
SatChannelEstimationErrorContainer () | |
Default constructor. More... | |
virtual | ~SatChannelEstimationErrorContainer () |
Destructor for SatChannelEstimationErrorContainer. More... | |
double | AddError (double sinrInDb, uint32_t wfId=0) const |
Add channel estimation error to SINR. More... | |
Protected Member Functions | |
virtual double | DoAddError (double sinrInDb, uint32_t wfId) const =0 |
Pure virtual method for the implementation in derived classes. More... | |
SatChannelEstimationErrorContainer is responsible of adding a channel estimation error on top of raw measured SINR.
Channel estimation error functions in logarithmic (dB) domain. Abstract base class SatChannelEstimationErrorContainer defines the interface method, but the actual implementation is in inherited classes:
Definition at line 46 of file satellite-channel-estimation-error-container.h.
ns3::SatChannelEstimationErrorContainer::SatChannelEstimationErrorContainer | ( | ) |
Default constructor.
SatChannelEstimationErrorContainer.
Definition at line 41 of file satellite-channel-estimation-error-container.cc.
|
virtual |
Destructor for SatChannelEstimationErrorContainer.
Definition at line 46 of file satellite-channel-estimation-error-container.cc.
double ns3::SatChannelEstimationErrorContainer::AddError | ( | double | sinrInDb, |
uint32_t | wfId = 0 |
||
) | const |
Add channel estimation error to SINR.
Base class does not actually do anything, but returns only the sinrInDb as sinrOutDb.
sinrInDb | Measured SINR in dB |
wfId | Waveform id |
Definition at line 51 of file satellite-channel-estimation-error-container.cc.
References DoAddError().
|
protectedpure virtual |
Pure virtual method for the implementation in derived classes.
sinrInDb | Measured SINR in dB |
wfId | Waveform id |
Implemented in ns3::SatRtnLinkChannelEstimationErrorContainer, ns3::SatFwdLinkChannelEstimationErrorContainer, and ns3::SatSimpleChannelEstimationErrorContainer.
Referenced by AddError().