INET Framework for OMNeT++/OMNEST
|
#include <ReceptionResult.h>
Public Member Functions | |
ReceptionResult (const IReception *reception, const std::vector< const IReceptionDecision * > *decisions, const ReceptionIndication *indication) | |
~ReceptionResult () | |
virtual std::ostream & | printToStream (std::ostream &stream, int level) 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 const std::vector< const IReceptionDecision * > * | getDecisions () const override |
Returns the reception decisions made by the receiver in the order of received signal parts. More... | |
virtual const ReceptionIndication * | getIndication () const override |
Returns the physical properties of the reception. More... | |
virtual const cPacket * | getPhyFrame () const override |
Returns the PHY frame corresponding to the reception. More... | |
virtual const cPacket * | getMacFrame () const override |
Returns the MAC frame corresponding to this reception. 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 Attributes | |
const IReception * | reception |
const std::vector< const IReceptionDecision * > * | decisions |
const ReceptionIndication * | indication |
const cPacket * | macFrame |
Additional Inherited Members | |
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 } |
inet::physicallayer::ReceptionResult::ReceptionResult | ( | const IReception * | reception, |
const std::vector< const IReceptionDecision * > * | decisions, | ||
const ReceptionIndication * | indication | ||
) |
inet::physicallayer::ReceptionResult::~ReceptionResult | ( | ) |
|
inlineoverridevirtual |
Returns the reception decisions made by the receiver in the order of received signal parts.
This function never returns an empty vector.
Implements inet::physicallayer::IReceptionResult.
|
inlineoverridevirtual |
Returns the physical properties of the reception.
This function never returns nullptr.
Implements inet::physicallayer::IReceptionResult.
|
overridevirtual |
Returns the MAC frame corresponding to this reception.
This function may return nullptr.
Implements inet::physicallayer::IReceptionResult.
Reimplemented in inet::physicallayer::LayeredReceptionResult.
|
overridevirtual |
Returns the PHY frame corresponding to the reception.
This function may return nullptr.
Implements inet::physicallayer::IReceptionResult.
Reimplemented in inet::physicallayer::LayeredReceptionResult.
|
inlineoverridevirtual |
Returns the corresponding reception that also specifies the receiver and the received transmission.
This function never returns nullptr.
Implements inet::physicallayer::IReceptionResult.
|
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::IPrintableObject.
Reimplemented in inet::physicallayer::LayeredReceptionResult.
|
protected |
Referenced by ~ReceptionResult().
|
protected |
Referenced by printToStream().
|
protected |
Referenced by getMacFrame(), ReceptionResult(), and ~ReceptionResult().
|
protected |