#include <AdditiveScramblerModule.h>
inet::physicallayer::AdditiveScramblerModule::~AdditiveScramblerModule |
( |
| ) |
|
|
virtual |
const AdditiveScrambler * scrambler
Definition: AdditiveScramblerModule.h:31
virtual BitVector inet::physicallayer::AdditiveScramblerModule::descramble |
( |
const BitVector & |
bits | ) |
const |
|
inlineoverridevirtual |
Implements inet::physicallayer::IScrambler.
BitVector descramble(const BitVector &bits) const override
Definition: AdditiveScrambler.h:51
const AdditiveScrambler * scrambler
Definition: AdditiveScramblerModule.h:31
virtual const AdditiveScrambling* inet::physicallayer::AdditiveScramblerModule::getScrambling |
( |
| ) |
const |
|
inlineoverridevirtual |
Implements inet::physicallayer::IScrambler.
const AdditiveScrambling * getScrambling() const override
Definition: AdditiveScrambler.h:52
const AdditiveScrambler * scrambler
Definition: AdditiveScramblerModule.h:31
virtual void inet::physicallayer::AdditiveScramblerModule::handleMessage |
( |
cMessage * |
msg | ) |
|
|
inlineoverrideprotectedvirtual |
36 {
throw cRuntimeError(
"This module doesn't handle self messages"); }
void inet::physicallayer::AdditiveScramblerModule::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
30 ShortBitVector generatorPolynomial(par(
"generatorPolynomial").
stringValue());
31 const AdditiveScrambling *scrambling =
new AdditiveScrambling(seed, generatorPolynomial);
32 scrambler =
new AdditiveScrambler(scrambling);
Local initializations.
Definition: InitStages.h:35
const AdditiveScrambler * scrambler
Definition: AdditiveScramblerModule.h:31
#define stringValue()
Definition: NedFunctions.cc:24
virtual int inet::physicallayer::AdditiveScramblerModule::numInitStages |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
The number of initialization stages.
Definition: InitStages.h:116
std::ostream & inet::physicallayer::AdditiveScramblerModule::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.
const AdditiveScrambler * scrambler
Definition: AdditiveScramblerModule.h:31
virtual std::ostream & printToStream(std::ostream &stream, int level) const override
Prints this object to the provided output stream.
Definition: AdditiveScrambler.cc:25
virtual BitVector inet::physicallayer::AdditiveScramblerModule::scramble |
( |
const BitVector & |
bits | ) |
const |
|
inlineoverridevirtual |
Implements inet::physicallayer::IScrambler.
const AdditiveScrambler * scrambler
Definition: AdditiveScramblerModule.h:31
BitVector scramble(const BitVector &bits) const override
Definition: AdditiveScrambler.cc:33
The documentation for this class was generated from the following files: