IT++ Logo Newcom Logo

itpp::Channel_Code Class Reference
[Forward Error Correcting Codes]

Generic Channel Code class. More...

#include <itpp/comm/channel_code.h>

Inheritance diagram for itpp::Channel_Code:

itpp::BCH itpp::Convolutional_Code itpp::Dummy_Code itpp::Extended_Golay itpp::Hamming_Code itpp::Reed_Solomon itpp::Punctured_Convolutional_Code List of all members.

Public Member Functions

 Channel_Code ()
virtual ~Channel_Code ()
virtual void encode (const bvec &uncoded_bits, bvec &coded_bits)=0
 Encode a bvec of input.
virtual bvec encode (const bvec &uncoded_bits)=0
 Encode a bvec of input.
virtual void decode (const bvec &codedbits, bvec &decoded_bits)=0
 Decode a bvec of coded data.
virtual bvec decode (const bvec &coded_bits)=0
 Decode a bvec of coded data.
virtual void decode (const vec &received_signal, bvec &decoded_bits)=0
 Decode a vec of received data.
virtual bvec decode (const vec &received_signal)=0
 Decode a vec of received data.
virtual double get_rate ()=0
 Get the code rate.

Detailed Description

Generic Channel Code class.

Definition at line 53 of file channel_code.h.


Member Function Documentation

virtual void itpp::Channel_Code::encode ( const bvec &  uncoded_bits,
bvec &  coded_bits 
) [pure virtual]

Encode a bvec of input.

Implemented in itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.

virtual bvec itpp::Channel_Code::encode ( const bvec &  uncoded_bits  )  [pure virtual]

Encode a bvec of input.

Implemented in itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.

virtual void itpp::Channel_Code::decode ( const bvec &  codedbits,
bvec &  decoded_bits 
) [pure virtual]

Decode a bvec of coded data.

Implemented in itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.

virtual bvec itpp::Channel_Code::decode ( const bvec &  coded_bits  )  [pure virtual]

Decode a bvec of coded data.

Implemented in itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.

virtual void itpp::Channel_Code::decode ( const vec &  received_signal,
bvec &  decoded_bits 
) [pure virtual]

Decode a vec of received data.

Implemented in itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.

virtual bvec itpp::Channel_Code::decode ( const vec &  received_signal  )  [pure virtual]

Decode a vec of received data.

Implemented in itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.

virtual double itpp::Channel_Code::get_rate (  )  [pure virtual]

Get the code rate.

Implemented in itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.


The documentation for this class was generated from the following file:
SourceForge Logo

Generated on Sat Aug 25 23:41:03 2007 for IT++ by Doxygen 1.5.2