INET Framework for OMNeT++/OMNEST
|
This interface represents the result of a receiver's reception process. More...
#include <IReceptionResult.h>
Public Member Functions | |
virtual const IReception * | getReception () const =0 |
Returns the corresponding reception that also specifies the receiver and the received transmission. More... | |
virtual const std::vector< const IReceptionDecision * > * | getDecisions () const =0 |
Returns the reception decisions made by the receiver in the order of received signal parts. More... | |
virtual const ReceptionIndication * | getIndication () const =0 |
Returns the physical properties of the reception. More... | |
virtual const cPacket * | getPhyFrame () const =0 |
Returns the PHY frame corresponding to the reception. More... | |
virtual const cPacket * | getMacFrame () const =0 |
Returns the MAC frame corresponding to this reception. More... | |
Public Member Functions inherited from inet::physicallayer::IPrintableObject | |
virtual | ~IPrintableObject () |
virtual std::ostream & | printToStream (std::ostream &stream, int level) const |
Prints this object to the provided output stream. More... | |
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 |
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 } |
This interface represents the result of a receiver's reception process.
This interface is strictly immutable to safely support parallel computation.
|
pure virtual |
Returns the reception decisions made by the receiver in the order of received signal parts.
This function never returns an empty vector.
Implemented in inet::physicallayer::ReceptionResult.
|
pure virtual |
Returns the physical properties of the reception.
This function never returns nullptr.
Implemented in inet::physicallayer::ReceptionResult.
Referenced by inet::physicallayer::RadioMedium::receivePacket().
|
pure virtual |
Returns the MAC frame corresponding to this reception.
This function may return nullptr.
Implemented in inet::physicallayer::LayeredReceptionResult, and inet::physicallayer::ReceptionResult.
Referenced by inet::physicallayer::RadioMedium::receivePacket().
|
pure virtual |
Returns the PHY frame corresponding to the reception.
This function may return nullptr.
Implemented in inet::physicallayer::LayeredReceptionResult, and inet::physicallayer::ReceptionResult.
|
pure virtual |
Returns the corresponding reception that also specifies the receiver and the received transmission.
This function never returns nullptr.
Implemented in inet::physicallayer::ReceptionResult.
Referenced by inet::physicallayer::RadioMedium::getReceptionResult().