#include <mimo-encoder.h>
Inheritance diagram for mimo::Encoder:
Public Member Functions | |
Encoder (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl) | |
virtual | ~Encoder () |
virtual void | updateInputLengths () |
virtual void | updateOutputLengths () |
virtual void | process () |
virtual int | getDataLength (int codedLength) const =0 |
virtual int | getCodeLength (int rawLength) const =0 |
virtual void | Encode (const simth::ModSeq &modulation_symbols, CVectorSeq &output_vectors)=0 |
virtual void | print (std::ostream &os) const |
Protected Attributes | |
unsigned | nr_rx |
unsigned | nr_tx |
Abstract base class which provides an interface for particularly derived coder classes.
|
Constructor. All parameters shall be passed through the given simth::PropertyList. |
|
Default destructor. |
|
Implementation of methods of simth::Device. Implements simth::Device. Reimplemented in mimo::STBCAlamoutiEnc, mimo::SVDEnc, mimo::AntennaSelEnc, mimo::RotAlamoutiEnc, and mimo::PCSEncoder. |
|
Implementation of methods of simth::Device. Implements simth::Device. Reimplemented in mimo::STBCAlamoutiEnc, mimo::SVDEnc, mimo::AntennaSelEnc, mimo::RotAlamoutiEnc, and mimo::PCSEncoder. |
|
Implementation of methods of simth::Device. Implements simth::Device. Reimplemented in mimo::SVDEnc, mimo::AntennaSelEnc, and mimo::PCSEncoder. |
|
This method has to be implemented in a derived class. Returns the length of an uncoded input sequence for the given length of the coded output sequence. If the coded length does fit (codedLength codedBitsPerStep() == 0) the function the function returns the length of a data sequence which is encoded by the coder from a coded sequence of the given length. In general the function returns the maximal length of a data sequence whose encoded length is smaller or equal code_length.
Implemented in mimo::SpatialMuxEnc, mimo::STBCAlamoutiEnc, mimo::SVDEnc, mimo::AntennaSelEnc, mimo::RotAlamoutiEnc, mimo::LsdEncoder, and mimo::PCSEncoder. |
|
This method has to be implemented in a derived class. Returns the length of a coded output sequence for a given length of the uncoded input sequence. If the data length does not fit (dataLength dataBitsPerStep() != 0) an FitErr exception is thrown, which should be caught in the scope calling the function.
Implemented in mimo::SpatialMuxEnc, mimo::STBCAlamoutiEnc, mimo::SVDEnc, mimo::AntennaSelEnc, mimo::RotAlamoutiEnc, mimo::LsdEncoder, and mimo::PCSEncoder. |
|
Encodes the given sequence of symbols into the given output sequence of vectors. This is the main method that has to be implemented in a derived class. Implemented in mimo::SpatialMuxEnc, mimo::STBCAlamoutiEnc, mimo::SVDEnc, mimo::AntennaSelEnc, mimo::RotAlamoutiEnc, mimo::LsdEncoder, and mimo::PCSEncoder. |
|
Print information about this block -- for debugging. Reimplemented from simth::Device. |
|
|
|
|