SatCnoEstimator class defines interface for C/N0 estimators. More...
#include "satellite-cno-estimator.h"
Inheritance diagram for ns3::SatCnoEstimator:
Collaboration diagram for ns3::SatCnoEstimator:Public Types | |
| enum | EstimationMode_t { LAST , MINIMUM , AVERAGE } |
| Definition of modes for estimator. More... | |
Public Member Functions | |
| SatCnoEstimator () | |
| Default construct a SatCnoEstimator. More... | |
| virtual | ~SatCnoEstimator () |
| Destroy a SatCnoEstimator. More... | |
| void | AddSample (double cno) |
| Add a C/N0 sample to estimator. More... | |
| double | GetCnoEstimation () |
| Estimate C/N0 value of the samples. More... | |
Private Member Functions | |
| virtual void | DoAddSample (double cno)=0 |
| Add a C/N0 sample to estimator. More... | |
| virtual double | DoGetCnoEstimation ()=0 |
| Estimate C/N0 value of the samples. More... | |
SatCnoEstimator class defines interface for C/N0 estimators.
Definition at line 41 of file satellite-cno-estimator.h.
Definition of modes for estimator.
| Enumerator | |
|---|---|
| LAST | Last value in the given window returned. |
| MINIMUM | Minimum value in the given window returned. |
| AVERAGE | Average value in the given window returned. |
Definition at line 47 of file satellite-cno-estimator.h.
| ns3::SatCnoEstimator::SatCnoEstimator | ( | ) |
Default construct a SatCnoEstimator.
Definition at line 44 of file satellite-cno-estimator.cc.
|
virtual |
Destroy a SatCnoEstimator.
This is the destructor for the SatCnoEstimator.
Definition at line 49 of file satellite-cno-estimator.cc.
| void ns3::SatCnoEstimator::AddSample | ( | double | cno | ) |
Add a C/N0 sample to estimator.
Calls the method DoAddSample.
| cno | C/N0 sample value |
Definition at line 55 of file satellite-cno-estimator.cc.
References DoAddSample().
Here is the call graph for this function:
|
privatepure virtual |
Add a C/N0 sample to estimator.
Method must be implemented by inheriting classes.
| cno | C/N0 sample value |
Implemented in ns3::SatBasicCnoEstimator.
Referenced by AddSample().
Here is the caller graph for this function:
|
privatepure virtual |
Estimate C/N0 value of the samples.
Method must be implemented by inheriting classes.
Implemented in ns3::SatBasicCnoEstimator.
Referenced by GetCnoEstimation().
Here is the caller graph for this function:| double ns3::SatCnoEstimator::GetCnoEstimation | ( | ) |
Estimate C/N0 value of the samples.
Calls the method DoAddSample.
Definition at line 63 of file satellite-cno-estimator.cc.
References DoGetCnoEstimation().
Here is the call graph for this function: