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

simthlib::ShiftRegisterSystematicBinary Class Reference

#include <trellis.h>

Inheritance diagram for simthlib::ShiftRegisterSystematicBinary:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ShiftRegisterSystematicBinary (int inbitsPerStep, const simth::checkedVector< int > &octalPolynomials, int recursivePolynomial=0)
 ~ShiftRegisterSystematicBinary ()
virtual int getOutput (int input, int state) const
virtual void print (std::ostream &os) const

Detailed Description

This class implements a shift register with a systematic part. The systematic part is treated as a special case because the resulting bits are not influenced by the (propably existing) recursive part. (Otherwise it could be implemented with a normal shift register by choosen the right polynomial for the systematic part.)


Constructor & Destructor Documentation

simthlib::ShiftRegisterSystematicBinary::ShiftRegisterSystematicBinary int  inbitsPerStep,
const simth::checkedVector< int > &  octalPolynomials,
int  recursivePolynomial = 0
 

If recursivePolynomial equals zero, the shift register is non recursive.

simthlib::ShiftRegisterSystematicBinary::~ShiftRegisterSystematicBinary  )  [inline]
 


Member Function Documentation

virtual int simthlib::ShiftRegisterSystematicBinary::getOutput int  input,
int  state
const [virtual]
 

Computes the output of the shift register according to a given state and input.

Reimplemented from simthlib::AbstractShiftRegisterBinary.

virtual void simthlib::ShiftRegisterSystematicBinary::print std::ostream &  os  )  const [virtual]
 

Reimplemented from simthlib::ShiftRegister.


Generated on Tue Aug 9 14:39:42 2005 for simtheticlib by  doxygen 1.4.1