Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mimo::LsdEncoder Class Reference

#include <mimo-lsd-encoder.h>

Inheritance diagram for mimo::LsdEncoder:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LsdEncoder (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl)
virtual ~LsdEncoder ()
virtual int getDataLength (int codedLength) const
virtual int getCodeLength (int rawLength) const
virtual void Encode (const simth::ModSeq &modulation_symbols, CVectorSeq &output_vectors)

Static Public Member Functions

static void calcCodeMatrix (unsigned M, int xcc, unsigned nu, unsigned ns, unsigned nc, CMatrixSeq &codeMatrices)
static void calcOuterCodeMatrix (unsigned ni, double acc, unsigned nc, CMatrix &outerCodeMatrix)

Related Functions

(Note that these are not member functions.)

 propertylist_LsdEncoder (not_a_function)

Constructor & Destructor Documentation

mimo::LsdEncoder::LsdEncoder int  deviceID,
simth::DeviceSystemIntf system,
const simth::PropertyList pl
 

virtual mimo::LsdEncoder::~LsdEncoder  )  [virtual]
 


Member Function Documentation

virtual int mimo::LsdEncoder::getDataLength int  codedLength  )  const [virtual]
 

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.

Parameters:
codedLength length of the coded output sequence
Returns:
required length of the input sequence

Implements mimo::Encoder.

virtual int mimo::LsdEncoder::getCodeLength int  rawLength  )  const [virtual]
 

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.

Parameters:
rawLength length of the data sequence
Returns:
allocated length of the coded sequence

Implements mimo::Encoder.

virtual void mimo::LsdEncoder::Encode const simth::ModSeq modulation_symbols,
CVectorSeq output_vectors
[virtual]
 

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.

Implements mimo::Encoder.

static void mimo::LsdEncoder::calcCodeMatrix unsigned  M,
int  xcc,
unsigned  nu,
unsigned  ns,
unsigned  nc,
CMatrixSeq codeMatrices
[static]
 

This function calculates the actual coding matrices (inner code). The resulting coding matrices are written into the parameter codeMatrices.

static void mimo::LsdEncoder::calcOuterCodeMatrix unsigned  ni,
double  acc,
unsigned  nc,
CMatrix outerCodeMatrix
[static]
 

This function calculates the actual coding matrix (outer code). The resulting coding matrix is written into the parameter outerCodeMatrix.


Friends And Related Function Documentation

propertylist_LsdEncoder not_a_function   )  [related]
 

These are the properties of class LsdEncoder . This list is auto-generated from the XML-Devicelist of this device by means of an XSLT transformation script.

Description of this device in the XML file:

Note that this class also has the Properties of its base classes. The direct base class is mimo::Encoder ; direct link to its propertylist should be propertylist_Encoder(). The list below usually includes the properties that have been inherited from the base classes; the properties which belong only to this class can be found at the end of this list.

nr_rx
<unsigned>, default "" -- Number of receive antennas.

nr_tx
<unsigned>, default "" -- Number of transmit antennas.

2 properties in this class. The above properties have been inherited from the base class mimo::Encoder .

nr_nu
<unsigned>, default "" -- Number of symbols over one OFDM subcarrier

nr_ns
<unsigned>, default "" -- Number of OFDM subcarriers

nr_ni
<unsigned>, default "" -- Number of input symbols

nr_nc
<unsigned>, default "" -- The desired number of symbols after outer coding

x_cc
<int>, default "1" -- Parameter for LsdAlgorithm

a_cc
<double>, default "3.4" -- Parameter for LsdAlgorithm

6 properties in this class.


Generated on Tue Aug 9 14:44:10 2005 for mimolib by  doxygen 1.4.1