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

simthlib::ReedSolomonEncoder Class Reference

#include <blockencoder.h>

Inheritance diagram for simthlib::ReedSolomonEncoder:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ReedSolomonEncoder (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl, int bitsPerSymbol, int numCheckSymbol, int m0_, int input_Length)
virtual ~ReedSolomonEncoder ()
virtual void Encode (const simth::BitSeq &bsin, simth::BitSeq *bsout) const
virtual void updateOutputLengths ()
virtual void updateInputLengths ()
virtual int getDataLength (int codedLength) const
virtual int getCodeLength (int rawLength) const

Detailed Description

Reed Solomon encoder programmed by A.Vanaev.


Constructor & Destructor Documentation

simthlib::ReedSolomonEncoder::ReedSolomonEncoder int  deviceID,
simth::DeviceSystemIntf system,
const simth::PropertyList pl,
int  bitsPerSymbol,
int  numCheckSymbol,
int  m0_,
int  input_Length
 

virtual simthlib::ReedSolomonEncoder::~ReedSolomonEncoder  )  [virtual]
 


Member Function Documentation

virtual void simthlib::ReedSolomonEncoder::Encode const simth::BitSeq bsin,
simth::BitSeq bsout
const [virtual]
 

Encodes the given bit sequence.

Implements simthlib::Encoder.

virtual int simthlib::ReedSolomonEncoder::getCodeLength int  rawLength  )  const [virtual]
 

Returns the length of a coded bit sequence which is generated by the coder from a data sequence of the given length. 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 simthlib::Encoder.

virtual int simthlib::ReedSolomonEncoder::getDataLength int  codedLength  )  const [virtual]
 

If the coded length does fit (codedLength codedBitsPerStep() == 0) the function the function returns the length of a data bit sequence which is encoded by the coder from a coded bit sequence of the given length. In general the function returns the maximal length of a data bit which encoded length is smaller or equal code_length.

Parameters:
codedLength length of the coded sequence
Returns:
allocated length of the encoded data sequence

Implements simthlib::Encoder.

virtual void simthlib::ReedSolomonEncoder::updateInputLengths  )  [virtual]
 

Reimplemented from simthlib::Encoder.

virtual void simthlib::ReedSolomonEncoder::updateOutputLengths  )  [virtual]
 

Reimplemented from simthlib::Encoder.


Generated on Tue Aug 9 14:36:52 2005 for simtheticlib by  doxygen 1.4.1