|
WSF
|
A mode implementation for common legacy unguided usage. More...
#include <WsfCommMediumUnguided.hpp>


Public Member Functions | |
| ModeUnguided ()=default | |
| ModeUnguided (const std::string &aName) | |
| ~ModeUnguided () override=default | |
| ModeUnguided (const ModeUnguided &aSrc)=default | |
| ModeUnguided * | Clone () const override |
| const char * | GetScriptClassName () const override |
| bool | ProcessInput (UtInput &aInput) override |
| double | GetTransmissionTime (double aSimTime, Comm &aXmtr, Layer *aLayerPtr, Message &aMessage) override |
| bool | GetUseXferRateTable () const |
| double | GetBitErrorProbability () const |
| double | GetErrorCorrection () const |
| bool | GetUseBER_EbNoTable () const |
| Public Member Functions inherited from wsf::comm::medium::ModeGuided | |
| ModeGuided ()=default | |
| ModeGuided (const std::string &aName) | |
| ~ModeGuided () override=default | |
| ModeGuided (const ModeGuided &aSrc)=default | |
| const char * | GetScriptClassName () const override |
| double | GetPropagationTime (double aSimTime, Comm &aXmtr, Comm &aRcvr, Message &aMessage) override |
| double | GetPacketLossTime (double aSimTime, Message &aMessage) override |
| WsfRandomVariable & | GetPropagationSpeed () |
| WsfRandomVariable & | GetTransferRate () |
| WsfRandomVariable & | GetDelayTime () |
| Public Member Functions inherited from wsf::comm::medium::Mode | |
| Mode ()=default | |
| Mode (const std::string &aName) | |
| virtual | ~Mode ()=default |
| Mode (const Mode &aSrc)=default | |
| const char * | GetScriptClassName () const override |
| const std::string & | GetName () const |
| void | SetName (const std::string &aName) |
Protected Member Functions | |
| virtual double | CalculateTransferRate (Result &aResult, bool aCanSend) |
Protected Attributes | |
| UtTable::Curve | mSNR_XferRateTable {} |
| bool | mUseSNR_XferRateTable {false} |
| When set to true, the medium will utilize the mSNR_XferRateTable to determine transfer rate. | |
| double | mBitErrorProbability {0.0} |
| The expectation value of the BER (bit error rate) in a message, entered as percentage. | |
| double | mErrorCorrection {1.0} |
| The value of the Forward Error Correction (FEC) applied to a message to adjust BER and Eb/No, entered as a ratio (dB). | |
| UtTable::Curve | mBER_EbNoTable {} |
| A table that defines the value of Eb/No versus the Bit Error Rate. | |
| bool | mUseBER_EbNoTable {false} |
| When set to true, the medium will use the mBER_EbNoTable to determine the message transfer rate. | |
A mode implementation for common legacy unguided usage.
|
default |
Referenced by Clone(), and ModeUnguided().
|
inline |
References wsf::comm::medium::ModeGuided::ModeGuided().
|
overridedefault |
|
default |
References ModeUnguided().
|
protectedvirtual |
References WsfEM_Interaction::GetReceiver(), wsf::comm::medium::ModeGuided::GetTransferRate(), WsfRandomVariable::LastDraw(), mBER_EbNoTable, mBitErrorProbability, wsf::comm::Result::mBitErrorRate, wsf::comm::Result::mDataRate, wsf::comm::Result::mEnergyBitToNoiseDensity, mErrorCorrection, WsfEM_Interaction::mSignalToNoise, mSNR_XferRateTable, mUseBER_EbNoTable, and mUseSNR_XferRateTable.
Referenced by GetTransmissionTime().
|
inlineoverridevirtual |
Reimplemented from wsf::comm::medium::ModeGuided.
References ModeUnguided().
|
inline |
References mBitErrorProbability.
|
inline |
References mErrorCorrection.
|
inlineoverride |
|
inline |
References mUseBER_EbNoTable.
|
inline |
References mUseSNR_XferRateTable.
|
overridevirtual |
Reimplemented from wsf::comm::medium::ModeGuided.
References mBER_EbNoTable, mBitErrorProbability, mErrorCorrection, mSNR_XferRateTable, mUseBER_EbNoTable, mUseSNR_XferRateTable, and wsf::comm::medium::ModeGuided::ProcessInput().
|
protected |
A table that defines the value of Eb/No versus the Bit Error Rate.
Referenced by CalculateTransferRate(), and ProcessInput().
|
protected |
The expectation value of the BER (bit error rate) in a message, entered as percentage.
Referenced by CalculateTransferRate(), GetBitErrorProbability(), and ProcessInput().
|
protected |
The value of the Forward Error Correction (FEC) applied to a message to adjust BER and Eb/No, entered as a ratio (dB).
Referenced by CalculateTransferRate(), GetErrorCorrection(), and ProcessInput().
|
protected |
A table that can be used to provide the message transfer rate based off of the SNR between the transmitter and receiver using this medium.
Referenced by CalculateTransferRate(), and ProcessInput().
|
protected |
When set to true, the medium will use the mBER_EbNoTable to determine the message transfer rate.
Referenced by CalculateTransferRate(), GetTransmissionTime(), GetUseBER_EbNoTable(), and ProcessInput().
|
protected |
When set to true, the medium will utilize the mSNR_XferRateTable to determine transfer rate.
Referenced by CalculateTransferRate(), GetTransmissionTime(), GetUseXferRateTable(), and ProcessInput().