#include <Ieee80211OFDMEncoder.h>
inet::physicallayer::Ieee80211OFDMEncoder::Ieee80211OFDMEncoder |
( |
const Ieee80211OFDMCode * |
code | ) |
|
const AdditiveScrambling * getScrambling() const
Definition: Ieee80211OFDMCode.h:43
const IFECCoder * convolutionalCoder
Definition: Ieee80211OFDMEncoder.h:37
const IScrambler * scrambler
Definition: Ieee80211OFDMEncoder.h:39
const Ieee80211OFDMInterleaving * getInterleaving() const
Definition: Ieee80211OFDMCode.h:42
const ConvolutionalCode * getConvolutionalCode() const
Definition: Ieee80211OFDMCode.h:41
const IInterleaver * interleaver
Definition: Ieee80211OFDMEncoder.h:38
const Ieee80211OFDMCode * code
Definition: Ieee80211OFDMEncoder.h:40
inet::physicallayer::Ieee80211OFDMEncoder::~Ieee80211OFDMEncoder |
( |
| ) |
|
const IFECCoder * convolutionalCoder
Definition: Ieee80211OFDMEncoder.h:37
const IScrambler * scrambler
Definition: Ieee80211OFDMEncoder.h:39
const IInterleaver * interleaver
Definition: Ieee80211OFDMEncoder.h:38
Implements inet::physicallayer::IEncoder.
Referenced by inet::physicallayer::Ieee80211OFDMEncoderModule::encode(), and inet::physicallayer::Ieee80211LayeredOFDMTransmitter::encodeAndModulate().
47 const BitVector *serializedPacket = packetModel->getSerializedPacket();
48 BitVector *encodedBits =
new BitVector(*serializedPacket);
49 const IScrambling *scrambling =
nullptr;
53 EV_DEBUG <<
"Scrambled bits are: " << *encodedBits << endl;
55 const IForwardErrorCorrection *forwardErrorCorrection =
nullptr;
59 EV_DEBUG <<
"FEC encoded bits are: " << *encodedBits << endl;
61 const IInterleaving *interleaving =
nullptr;
65 EV_DEBUG <<
"Interleaved bits are: " << *encodedBits << endl;
67 return new TransmissionBitModel(encodedBits, forwardErrorCorrection, scrambling, interleaving);
virtual const IInterleaving * getInterleaving() const =0
virtual BitVector encode(const BitVector &informationBits) const =0
const IFECCoder * convolutionalCoder
Definition: Ieee80211OFDMEncoder.h:37
virtual BitVector scramble(const BitVector &bits) const =0
virtual const IScrambling * getScrambling() const =0
virtual const IForwardErrorCorrection * getForwardErrorCorrection() const =0
const IScrambler * scrambler
Definition: Ieee80211OFDMEncoder.h:39
virtual BitVector interleave(const BitVector &bits) const =0
const IInterleaver * interleaver
Definition: Ieee80211OFDMEncoder.h:38
const Ieee80211OFDMCode* inet::physicallayer::Ieee80211OFDMEncoder::getCode |
( |
| ) |
const |
|
inlineoverridevirtual |
std::ostream & inet::physicallayer::Ieee80211OFDMEncoder::printToStream |
( |
std::ostream & |
stream, |
|
|
int |
level |
|
) |
| const |
|
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.
Referenced by inet::physicallayer::Ieee80211OFDMEncoderModule::printToStream().
36 stream <<
"Ieee80211OFDMEncoder";
std::string printObjectToString(const IPrintableObject *object, int level)
Definition: IPrintableObject.h:73
const IFECCoder * convolutionalCoder
Definition: Ieee80211OFDMEncoder.h:37
Definition: IPrintableObject.h:34
const IScrambler * scrambler
Definition: Ieee80211OFDMEncoder.h:39
const IInterleaver * interleaver
Definition: Ieee80211OFDMEncoder.h:38
const Ieee80211OFDMCode * code
Definition: Ieee80211OFDMEncoder.h:40
const IFECCoder* inet::physicallayer::Ieee80211OFDMEncoder::convolutionalCoder = nullptr |
|
protected |
const IInterleaver* inet::physicallayer::Ieee80211OFDMEncoder::interleaver = nullptr |
|
protected |
const IScrambler* inet::physicallayer::Ieee80211OFDMEncoder::scrambler = nullptr |
|
protected |
The documentation for this class was generated from the following files: