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

#include <SignalBitModel.h>

Inheritance diagram for inet::physicallayer::TransmissionBitModel:
inet::physicallayer::SignalBitModel inet::physicallayer::ITransmissionBitModel inet::physicallayer::ISignalBitModel inet::physicallayer::ISignalBitModel inet::physicallayer::IPrintableObject inet::physicallayer::IPrintableObject

Public Member Functions

 TransmissionBitModel (const BitVector *bits, const IForwardErrorCorrection *forwardErrorCorrection, const IScrambling *scrambling, const IInterleaving *interleaving)
 
 TransmissionBitModel (int headerBitLength, bps headerBitRate, int payloadBitLength, bps payloadBitRate, const BitVector *bits, const IForwardErrorCorrection *forwardErrorCorrection, const IScrambling *scrambling, const IInterleaving *interleaving)
 
virtual const IForwardErrorCorrectiongetForwardErrorCorrection () const override
 
virtual const IScramblinggetScrambling () const override
 
virtual const IInterleavinggetInterleaving () const override
 
- Public Member Functions inherited from inet::physicallayer::SignalBitModel
 SignalBitModel (int headerBitLength, bps headerBitRate, int payloadBitLength, bps payloadBitRate, const BitVector *bits)
 
virtual ~SignalBitModel ()
 
virtual std::ostream & printToStream (std::ostream &stream, int level) const override
 Prints this object to the provided output stream. More...
 
virtual int getHeaderBitLength () const override
 
virtual bps getHeaderBitRate () const override
 Returns the gross (physical) bitrate of the PHY frame header. More...
 
virtual int getPayloadBitLength () const override
 
virtual bps getPayloadBitRate () const override
 Returns the gross (physical) bitrate of the PHY frame data. More...
 
virtual const BitVectorgetBits () const override
 
- 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 IForwardErrorCorrectionforwardErrorCorrection
 
const IScramblingscrambling
 
const IInterleavinginterleaving
 
- Protected Attributes inherited from inet::physicallayer::SignalBitModel
const BitVectorbits
 
const int headerBitLength
 
const bps headerBitRate
 
const int payloadBitLength
 
const bps payloadBitRate
 

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
}
 

Constructor & Destructor Documentation

inet::physicallayer::TransmissionBitModel::TransmissionBitModel ( const BitVector bits,
const IForwardErrorCorrection forwardErrorCorrection,
const IScrambling scrambling,
const IInterleaving interleaving 
)
49  :
50  SignalBitModel(-1, bps(NaN), -1, bps(NaN), bits),
54 {
55 }
const IForwardErrorCorrection * forwardErrorCorrection
Definition: SignalBitModel.h:53
compose< b, pow< s,-1 > > bps
Definition: Units.h:985
#define NaN
Definition: INETMath.h:103
const BitVector * bits
Definition: SignalBitModel.h:32
SignalBitModel(int headerBitLength, bps headerBitRate, int payloadBitLength, bps payloadBitRate, const BitVector *bits)
Definition: SignalBitModel.cc:24
const IInterleaving * interleaving
Definition: SignalBitModel.h:55
const IScrambling * scrambling
Definition: SignalBitModel.h:54
inet::physicallayer::TransmissionBitModel::TransmissionBitModel ( int  headerBitLength,
bps  headerBitRate,
int  payloadBitLength,
bps  payloadBitRate,
const BitVector bits,
const IForwardErrorCorrection forwardErrorCorrection,
const IScrambling scrambling,
const IInterleaving interleaving 
)
57  :
62 {
63 }
const bps payloadBitRate
Definition: SignalBitModel.h:36
const IForwardErrorCorrection * forwardErrorCorrection
Definition: SignalBitModel.h:53
const BitVector * bits
Definition: SignalBitModel.h:32
const int headerBitLength
Definition: SignalBitModel.h:33
SignalBitModel(int headerBitLength, bps headerBitRate, int payloadBitLength, bps payloadBitRate, const BitVector *bits)
Definition: SignalBitModel.cc:24
const bps headerBitRate
Definition: SignalBitModel.h:34
const IInterleaving * interleaving
Definition: SignalBitModel.h:55
const int payloadBitLength
Definition: SignalBitModel.h:35
const IScrambling * scrambling
Definition: SignalBitModel.h:54

Member Function Documentation

virtual const IForwardErrorCorrection* inet::physicallayer::TransmissionBitModel::getForwardErrorCorrection ( ) const
inlineoverridevirtual

Implements inet::physicallayer::ITransmissionBitModel.

61 { return forwardErrorCorrection; }
const IForwardErrorCorrection * forwardErrorCorrection
Definition: SignalBitModel.h:53
virtual const IInterleaving* inet::physicallayer::TransmissionBitModel::getInterleaving ( ) const
inlineoverridevirtual

Implements inet::physicallayer::ITransmissionBitModel.

63 { return interleaving; }
const IInterleaving * interleaving
Definition: SignalBitModel.h:55
virtual const IScrambling* inet::physicallayer::TransmissionBitModel::getScrambling ( ) const
inlineoverridevirtual

Implements inet::physicallayer::ITransmissionBitModel.

62 { return scrambling; }
const IScrambling * scrambling
Definition: SignalBitModel.h:54

Member Data Documentation

const IForwardErrorCorrection* inet::physicallayer::TransmissionBitModel::forwardErrorCorrection
protected
const IInterleaving* inet::physicallayer::TransmissionBitModel::interleaving
protected
const IScrambling* inet::physicallayer::TransmissionBitModel::scrambling
protected

The documentation for this class was generated from the following files: