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

SPUC::bit_scrambler Class Reference
[Communication Classes]

Does scrambling function on input bits. More...

#include <bit_scrambler.h>

List of all members.

Public Member Functions

 bit_scrambler (long gen=0x48, long bits=7, long uinit=-1)
void reset ()
bool scramble (bool data_in)
bool xor_bits (long x)
 Exclusive or reduction.

Public Attributes

unsigned long g
long span
unsigned long u

Detailed Description

Does scrambling function on input bits.

Tony Kirke, Copyright(c) 2001

Constructor & Destructor Documentation

SPUC::bit_scrambler::bit_scrambler long  gen = 0x48,
long  bits = 7,
long  uinit = -1

Member Function Documentation

void SPUC::bit_scrambler::reset  )  [inline]

bool SPUC::bit_scrambler::scramble bool  data_in  )  [inline]

Here is the call graph for this function:

bool SPUC::bit_scrambler::xor_bits long  x  )  [inline]

Exclusive or reduction.

Member Data Documentation

unsigned long SPUC::bit_scrambler::g

long SPUC::bit_scrambler::span

unsigned long SPUC::bit_scrambler::u

The documentation for this class was generated from the following file:
Generated on Fri Sep 16 11:07:29 2005 for spuc by  doxygen 1.4.4