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

mimo::RotAlamoutiEnc Class Reference

#include <mimo-encoder.h>

Inheritance diagram for mimo::RotAlamoutiEnc:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 RotAlamoutiEnc (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl)
int getDataLength (int codedLength) const
int getCodeLength (int rawLength) const
void Encode (const simth::ModSeq &modulation_symbols, CVectorSeq &output_vectors)
void startOfSimulation ()
void updateOutputLengths ()
void updateInputLengths ()

Related Functions

(Note that these are not member functions.)

 propertylist_RotAlamoutiEnc (not_a_function)

Detailed Description

Implementation of an encoder for a Space-Time-Freqeuency-Code system based on a combination of Alamouti scheme and real rotation of constellation points.


Constructor & Destructor Documentation

mimo::RotAlamoutiEnc::RotAlamoutiEnc (  int  deviceID,
simth::DeviceSystemIntf *  system,
const simth::PropertyList &  pl
) 
 


Member Function Documentation

int mimo::RotAlamoutiEnc::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.

int mimo::RotAlamoutiEnc::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.

void mimo::RotAlamoutiEnc::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.

void mimo::RotAlamoutiEnc::startOfSimulation (   )  [virtual]
 

Reimplemented from simth::Device.

void mimo::RotAlamoutiEnc::updateOutputLengths (   )  [virtual]
 

Implementation of methods of simth::Device.

Reimplemented from mimo::Encoder.

void mimo::RotAlamoutiEnc::updateInputLengths (   )  [virtual]
 

Implementation of methods of simth::Device.

Reimplemented from mimo::Encoder.


Friends And Related Function Documentation

propertylist_RotAlamoutiEnc (  not_a_function   )  [related]
 

These are the properties of class RotAlamoutiEnc . 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: Encoder based on a combination of Alamouti scheme and real rotation of constellation points.

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 .

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

1 properties in this class.


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