Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

GrAtscRandomizer Class Reference

Randomize ATSC data (atsc_mpeg_packet --> atsc_mpeg_packet_no_sync). More...

#include <GrAtscRandomizer.h>

Inheritance diagram for GrAtscRandomizer:

VrHistoryProc< atsc_mpeg_packet, atsc_mpeg_packet_no_sync > VrSigProc List of all members.

Public Member Functions

 GrAtscRandomizer ()
 ~GrAtscRandomizer ()
const char * name ()
 default name for a module (override with actual name)

int work (VrSampleRange output, void *o[], VrSampleRange inputs[], void *i[])
 Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#].


Protected Attributes

atsc_randomizer rand
bool field2
int segno

Detailed Description

Randomize ATSC data (atsc_mpeg_packet --> atsc_mpeg_packet_no_sync).


Constructor & Destructor Documentation

GrAtscRandomizer::GrAtscRandomizer  ) 
 

GrAtscRandomizer::~GrAtscRandomizer  ) 
 


Member Function Documentation

const char* GrAtscRandomizer::name  )  [inline, virtual]
 

default name for a module (override with actual name)

Reimplemented from VrSigProc.

int GrAtscRandomizer::work VrSampleRange  output,
void *  o[],
VrSampleRange  inputs[],
void *  i[]
[virtual]
 

Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#].

Pointers start at corresponding VrSampleIndex in the range params. output.size is a multiple of outputSize. Returns the number of outputs (<= output.size) that it was able to compute with the given input ranges. If this value is < output.size, forecast() will need to be called again.

Implements VrSigProc.


Member Data Documentation

bool GrAtscRandomizer::field2 [protected]
 

atsc_randomizer GrAtscRandomizer::rand [protected]
 

int GrAtscRandomizer::segno [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Mar 30 21:32:10 2004 for GNU Radio by doxygen 1.3.2