#include <ConvolutionalCoderModule.h>
inet::physicallayer::ConvolutionalCoderModule::~ConvolutionalCoderModule |
( |
| ) |
|
ConvolutionalCoder * convolutionalCoder
Definition: ConvolutionalCoderModule.h:30
virtual std::pair<BitVector, bool> inet::physicallayer::ConvolutionalCoderModule::decode |
( |
const BitVector & |
encodedBits | ) |
const |
|
inlineoverridevirtual |
Implements inet::physicallayer::IFECCoder.
std::pair< BitVector, bool > decode(const BitVector &encodedBits) const override
Definition: ConvolutionalCoder.cc:437
ConvolutionalCoder * convolutionalCoder
Definition: ConvolutionalCoderModule.h:30
virtual BitVector inet::physicallayer::ConvolutionalCoderModule::encode |
( |
const BitVector & |
informationBits | ) |
const |
|
inlineoverridevirtual |
Implements inet::physicallayer::IFECCoder.
BitVector encode(const BitVector &informationBits) const override
Definition: ConvolutionalCoder.cc:207
ConvolutionalCoder * convolutionalCoder
Definition: ConvolutionalCoderModule.h:30
virtual const ConvolutionalCode* inet::physicallayer::ConvolutionalCoderModule::getForwardErrorCorrection |
( |
| ) |
const |
|
inlineoverridevirtual |
Implements inet::physicallayer::IFECCoder.
ConvolutionalCoder * convolutionalCoder
Definition: ConvolutionalCoderModule.h:30
const ConvolutionalCode * getForwardErrorCorrection() const override
Definition: ConvolutionalCoder.h:136
virtual void inet::physicallayer::ConvolutionalCoderModule::handleMessage |
( |
cMessage * |
msg | ) |
|
|
inlineoverrideprotectedvirtual |
35 {
throw cRuntimeError(
"This module doesn't handle self messages"); }
void inet::physicallayer::ConvolutionalCoderModule::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
29 const char *transferFunctionMatrix = par(
"transferFunctionMatrix");
30 const char *puncturingMatrix = par(
"puncturingMatrix");
31 const char *constraintLengthVector = par(
"constraintLengthVector");
32 const char *mode = par(
"mode");
33 int codeRatePuncturingK = par(
"punctureK");
34 int codeRatePuncturingN = par(
"punctureN");
35 ConvolutionalCode *convolutionalCode =
new ConvolutionalCode(transferFunctionMatrix, puncturingMatrix, constraintLengthVector, codeRatePuncturingK, codeRatePuncturingN, mode);
Local initializations.
Definition: InitStages.h:35
ConvolutionalCoder * convolutionalCoder
Definition: ConvolutionalCoderModule.h:30
virtual int inet::physicallayer::ConvolutionalCoderModule::numInitStages |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
The number of initialization stages.
Definition: InitStages.h:116
std::ostream & inet::physicallayer::ConvolutionalCoderModule::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.
std::ostream & printToStream(std::ostream &stream, int level) const override
Prints this object to the provided output stream.
Definition: ConvolutionalCoder.cc:26
ConvolutionalCoder * convolutionalCoder
Definition: ConvolutionalCoderModule.h:30
The documentation for this class was generated from the following files: