|
INET Framework for OMNeT++/OMNEST
|
#include <ReceptionDecision.h>
Public Member Functions | |
| ReceptionDecision (const IReception *reception, IRadioSignal::SignalPart part, bool isReceptionPossible, bool isReceptionAttempted, bool isReceptionSuccessful) | |
| virtual std::ostream & | printToStream (std::ostream &stream, int level, int evFlags=0) const override |
| Prints this object to the provided output stream. More... | |
| virtual const IReception * | getReception () const override |
| Returns the corresponding reception that also specifies the receiver and the received transmission. More... | |
| virtual IRadioSignal::SignalPart | getSignalPart () const override |
| Returns the signal part of this decision. More... | |
| virtual bool | isReceptionPossible () const override |
| Returns whether reception was possible according to the physical properties of the received radio signal. More... | |
| virtual bool | isReceptionAttempted () const override |
| Returns whether the receiver decided to attempt the reception or it decided to ignore it. More... | |
| virtual bool | isReceptionSuccessful () const override |
| Returns whether the reception was completely successful or not. More... | |
Public Member Functions inherited from inet::IPrintableObject | |
| virtual | ~IPrintableObject () |
| virtual std::string | printToString () const |
| virtual std::string | printToString (int level, int evFlags=0) const |
| virtual std::string | getInfoStringRepresentation (int evFlags=0) const |
| virtual std::string | getDetailStringRepresentation (int evFlags=0) const |
| virtual std::string | getDebugStringRepresentation (int evFlags=0) const |
| virtual std::string | getTraceStringRepresentation (int evFlags=0) const |
| virtual std::string | getCompleteStringRepresentation (int evFlags=0) const |
Protected Attributes | |
| const IReception * | reception |
| IRadioSignal::SignalPart | part |
| const bool | isReceptionPossible_ |
| const bool | isReceptionAttempted_ |
| const bool | isReceptionSuccessful_ |
Additional Inherited Members | |
Public Types inherited from inet::IPrintableObject | |
| enum | PrintLevel { PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO, PRINT_LEVEL_COMPLETE = INT_MIN } |
| enum | PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) } |
| inet::physicallayer::ReceptionDecision::ReceptionDecision | ( | const IReception * | reception, |
| IRadioSignal::SignalPart | part, | ||
| bool | isReceptionPossible, | ||
| bool | isReceptionAttempted, | ||
| bool | isReceptionSuccessful | ||
| ) |
|
inlineoverridevirtual |
Returns the corresponding reception that also specifies the receiver and the received transmission.
This function never returns nullptr.
Implements inet::physicallayer::IReceptionDecision.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Returns whether the receiver decided to attempt the reception or it decided to ignore it.
Implements inet::physicallayer::IReceptionDecision.
|
inlineoverridevirtual |
Returns whether reception was possible according to the physical properties of the received radio signal.
Implements inet::physicallayer::IReceptionDecision.
|
inlineoverridevirtual |
Returns whether the reception was completely successful or not.
Implements inet::physicallayer::IReceptionDecision.
|
overridevirtual |
|
protected |
Referenced by printToStream().
|
protected |
Referenced by printToStream().
|
protected |
Referenced by printToStream().
|
protected |
|
protected |