INET Framework for OMNeT++/OMNEST
|
#include <APSKLayeredReceiver.h>
Public Types | |
enum | LevelOfDetail { PACKET_DOMAIN, BIT_DOMAIN, SYMBOL_DOMAIN, SAMPLE_DOMAIN } |
Public Types inherited from inet::physicallayer::IPrintableObject | |
enum | PrintLevel { PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO, PRINT_LEVEL_COMPLETE = INT_MIN } |
Public Member Functions | |
APSKLayeredReceiver () | |
virtual std::ostream & | printToStream (std::ostream &stream, int level) const override |
Prints this object to the provided output stream. More... | |
virtual const IDecoder * | getDecoder () const |
virtual const IDemodulator * | getModulator () const |
virtual const IPulseFilter * | getPulseFilter () const |
virtual const IAnalogDigitalConverter * | getAnalogDigitalConverter () const |
virtual bool | computeIsReceptionPossible (const IListening *listening, const IReception *reception, IRadioSignal::SignalPart part) const override |
Returns whether the reception of the provided part is possible or not. More... | |
virtual const IListening * | createListening (const IRadio *radio, const simtime_t startTime, const simtime_t endTime, const Coord startPosition, const Coord endPosition) const override |
Returns a description of how the receiver is listening on the medium. More... | |
virtual const IListeningDecision * | computeListeningDecision (const IListening *listening, const IInterference *interference) const override |
Returns the result of the listening process specifying the reception state of the receiver. More... | |
virtual const IReceptionResult * | computeReceptionResult (const IListening *listening, const IReception *reception, const IInterference *interference, const ISNIR *snir) const override |
Returns the complete result of the reception process for the provided reception. More... | |
Public Member Functions inherited from inet::physicallayer::SNIRReceiverBase | |
SNIRReceiverBase () | |
virtual double | getSNIRThreshold () const |
virtual bool | computeIsReceptionSuccessful (const IListening *listening, const IReception *reception, IRadioSignal::SignalPart part, const IInterference *interference, const ISNIR *snir) const override |
Returns whether the reception of the provided part is actually successful or failed by the receiver. More... | |
Public Member Functions inherited from inet::physicallayer::ReceiverBase | |
ReceiverBase () | |
virtual W | getMinInterferencePower () const override |
Returns the minimum interference power below which receptions are to be ignored while computing the interference. More... | |
virtual W | getMinReceptionPower () const override |
Returns the minimum reception power below which successful reception is definitely not possible. More... | |
virtual bool | computeIsReceptionPossible (const IListening *listening, const ITransmission *transmission) const override |
Returns whether the reception of the provided transmission is possible or not independently of the reception conditions. More... | |
virtual bool | computeIsReceptionAttempted (const IListening *listening, const IReception *reception, IRadioSignal::SignalPart part, const IInterference *interference) const override |
Returns whether the reception of the provided part is actually attempted or ignored by the receiver. More... | |
virtual const IReceptionDecision * | computeReceptionDecision (const IListening *listening, const IReception *reception, IRadioSignal::SignalPart part, const IInterference *interference, const ISNIR *snir) const override |
Returns the reception decision for the transmission part that specifies whether the reception is possible, attempted, and successful. More... | |
virtual ReceptionIndication * | createReceptionIndication () const |
Returns an empty reception indication (control info). More... | |
Public Member Functions inherited from inet::physicallayer::IPrintableObject | |
virtual | ~IPrintableObject () |
virtual std::string | getInfoStringRepresentation () const |
virtual std::string | getDetailStringRepresentation () const |
virtual std::string | getDebugStringRepresentation () const |
virtual std::string | getTraceStringRepresentation () const |
virtual std::string | getCompleteStringRepresentation () const |
Protected Member Functions | |
virtual void | initialize (int stage) override |
virtual const IReceptionAnalogModel * | createAnalogModel (const LayeredTransmission *transmission, const ISNIR *snir) const |
virtual const IReceptionSampleModel * | createSampleModel (const LayeredTransmission *transmission, const ISNIR *snir, const IReceptionAnalogModel *analogModel) const |
virtual const IReceptionSymbolModel * | createSymbolModel (const LayeredTransmission *transmission, const ISNIR *snir, const IReceptionSampleModel *sampleModel) const |
virtual const IReceptionBitModel * | createBitModel (const LayeredTransmission *transmission, const ISNIR *snir, const IReceptionSymbolModel *symbolModel) const |
virtual const IReceptionPacketModel * | createPacketModel (const LayeredTransmission *transmission, const ISNIR *snir, const IReceptionBitModel *bitModel) const |
virtual const APSKPhyFrame * | createPhyFrame (const IReceptionPacketModel *packetModel) const |
Protected Member Functions inherited from inet::physicallayer::SNIRReceiverBase | |
virtual const ReceptionIndication * | computeReceptionIndication (const ISNIR *snir) const override |
Returns the physical properties of the reception including noise and signal related measures, error probabilities, actual error counts, etc. More... | |
Protected Member Functions inherited from inet::physicallayer::ReceiverBase | |
virtual int | numInitStages () const override |
Protected Attributes | |
LevelOfDetail | levelOfDetail |
const ILayeredErrorModel * | errorModel |
const IDecoder * | decoder |
const IDemodulator * | demodulator |
const IPulseFilter * | pulseFilter |
const IAnalogDigitalConverter * | analogDigitalConverter |
W | energyDetection |
W | sensitivity |
Hz | carrierFrequency |
Hz | bandwidth |
double | snirThreshold |
Protected Attributes inherited from inet::physicallayer::SNIRReceiverBase | |
double | snirThreshold |
inet::physicallayer::APSKLayeredReceiver::APSKLayeredReceiver | ( | ) |
|
overridevirtual |
Returns whether the reception of the provided part is possible or not.
For example, it might check if the reception power is above sensitivity.
This function may be called before the reception actually starts at the receiver, thus it must be purely functional and support optimistic parallel computation.
Reimplemented from inet::physicallayer::ReceiverBase.
|
overridevirtual |
Returns the result of the listening process specifying the reception state of the receiver.
This function must be purely functional and support optimistic parallel computation.
Implements inet::physicallayer::IReceiver.
|
overridevirtual |
Returns the complete result of the reception process for the provided reception.
This function may be called before the reception actually starts at the receiver, thus it must be purely functional and support optimistic parallel computation.
Reimplemented from inet::physicallayer::ReceiverBase.
|
protectedvirtual |
Referenced by computeReceptionResult().
|
protectedvirtual |
Referenced by computeReceptionResult().
|
overridevirtual |
Returns a description of how the receiver is listening on the medium.
Implements inet::physicallayer::IReceiver.
|
protectedvirtual |
Referenced by computeReceptionResult().
|
protectedvirtual |
Referenced by computeReceptionResult().
|
protectedvirtual |
Referenced by computeReceptionResult().
|
protectedvirtual |
Referenced by computeReceptionResult().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
overrideprotectedvirtual |
Reimplemented from inet::physicallayer::SNIRReceiverBase.
|
overridevirtual |
Prints this object to the provided output stream.
Function calls to operator<< with pointers or references either const or not are all forwarded to this function.
Reimplemented from inet::physicallayer::SNIRReceiverBase.
|
protected |
Referenced by createSampleModel(), initialize(), and printToStream().
|
protected |
Referenced by createListening(), initialize(), and printToStream().
|
protected |
Referenced by createListening(), initialize(), and printToStream().
|
protected |
Referenced by createPacketModel(), initialize(), and printToStream().
|
protected |
Referenced by createBitModel(), initialize(), and printToStream().
|
protected |
Referenced by computeListeningDecision(), initialize(), and printToStream().
|
protected |
Referenced by createBitModel(), createPacketModel(), createSampleModel(), createSymbolModel(), initialize(), and printToStream().
|
protected |
Referenced by createBitModel(), createPacketModel(), createSampleModel(), createSymbolModel(), initialize(), and printToStream().
|
protected |
Referenced by createSymbolModel(), initialize(), and printToStream().
|
protected |
Referenced by computeIsReceptionPossible(), initialize(), and printToStream().
|
protected |
Referenced by initialize(), and printToStream().