INET Framework for OMNeT++/OMNEST
inet::physicallayer::ReceptionPacketModel Class Reference

#include <SignalPacketModel.h>

Inheritance diagram for inet::physicallayer::ReceptionPacketModel:
inet::physicallayer::SignalPacketModel inet::physicallayer::IReceptionPacketModel inet::physicallayer::ISignalPacketModel inet::physicallayer::ISignalPacketModel inet::IPrintableObject inet::IPrintableObject

Public Member Functions

 ReceptionPacketModel (const Packet *packet, bps bitrate, double packetErrorRate)
 
virtual double getPacketErrorRate () const override
 
- Public Member Functions inherited from inet::physicallayer::SignalPacketModel
 SignalPacketModel (const Packet *packet, bps bitrate)
 
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 PacketgetPacket () const override
 
virtual bps getBitrate () const override
 Returns the net bitrate (datarate) of the packet. 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

double packetErrorRate
 
- Protected Attributes inherited from inet::physicallayer::SignalPacketModel
const Packetpacket
 
const bps bitrate
 

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) }
 

Constructor & Destructor Documentation

◆ ReceptionPacketModel()

inet::physicallayer::ReceptionPacketModel::ReceptionPacketModel ( const Packet packet,
bps  bitrate,
double  packetErrorRate 
)

Member Function Documentation

◆ getPacketErrorRate()

virtual double inet::physicallayer::ReceptionPacketModel::getPacketErrorRate ( ) const
inlineoverridevirtual

Member Data Documentation

◆ packetErrorRate

double inet::physicallayer::ReceptionPacketModel::packetErrorRate
protected

The documentation for this class was generated from the following files:
inet::physicallayer::ReceptionPacketModel::packetErrorRate
double packetErrorRate
Definition: SignalPacketModel.h:39
inet::physicallayer::SignalPacketModel::SignalPacketModel
SignalPacketModel(const Packet *packet, bps bitrate)
Definition: SignalPacketModel.cc:13
inet::physicallayer::SignalPacketModel::packet
const Packet * packet
Definition: SignalPacketModel.h:19
inet::physicallayer::SignalPacketModel::bitrate
const bps bitrate
Definition: SignalPacketModel.h:20