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

plinfo Class Reference

pipeline info that flows with data More...

#include <atsc_types.h>

List of all members.

Public Member Functions

 plinfo ()
bool field_sync1_p () const
bool field_sync2_p () const
bool field_sync_p () const
bool regular_seg_p () const
bool in_field1_p () const
bool in_field2_p () const
bool first_regular_seg_p () const
bool transport_error_p () const
unsigned int segno () const
unsigned int flags () const
void set_field_sync1 ()
void set_field_sync2 ()
void set_regular_seg (bool field2, int segno)
void set_transport_error (bool error)
bool operator== (const plinfo &other) const
bool operator!= (const plinfo &other) const

Static Public Member Functions

static void delay (plinfo &out, const plinfo &in, int nsegs_of_delay)
static void sanity_check (const plinfo &in)

Protected Attributes

unsigned short _flags
unsigned short _segno

Static Protected Attributes

static const int fl_regular_seg = 0x0001
static const int fl_field_sync1 = 0x0002
static const int fl_field_sync2 = 0x0004
static const int fl_first_regular_seg = 0x0008
static const int fl_field2 = 0x0010
static const int fl_transport_error = 0x0020


Detailed Description

pipeline info that flows with data

Not all modules need all the info


Constructor & Destructor Documentation

plinfo::plinfo  )  [inline]
 


Member Function Documentation

void plinfo::delay plinfo out,
const plinfo in,
int  nsegs_of_delay
[static]
 

Set OUT such that it reflects a NSEGS_OF_DELAY pipeline delay from IN.

bool plinfo::field_sync1_p  )  const [inline]
 

bool plinfo::field_sync2_p  )  const [inline]
 

bool plinfo::field_sync_p  )  const [inline]
 

bool plinfo::first_regular_seg_p  )  const [inline]
 

unsigned int plinfo::flags  )  const [inline]
 

bool plinfo::in_field1_p  )  const [inline]
 

bool plinfo::in_field2_p  )  const [inline]
 

bool plinfo::operator!= const plinfo other  )  const [inline]
 

bool plinfo::operator== const plinfo other  )  const [inline]
 

bool plinfo::regular_seg_p  )  const [inline]
 

void plinfo::sanity_check const plinfo in  )  [static]
 

confirm that X is plausible

unsigned int plinfo::segno  )  const [inline]
 

void plinfo::set_field_sync1  )  [inline]
 

void plinfo::set_field_sync2  )  [inline]
 

void plinfo::set_regular_seg bool  field2,
int  segno
[inline]
 

void plinfo::set_transport_error bool  error  )  [inline]
 

bool plinfo::transport_error_p  )  const [inline]
 


Member Data Documentation

unsigned short plinfo::_flags [protected]
 

unsigned short plinfo::_segno [protected]
 

const int plinfo::fl_field2 = 0x0010 [static, protected]
 

const int plinfo::fl_field_sync1 = 0x0002 [static, protected]
 

const int plinfo::fl_field_sync2 = 0x0004 [static, protected]
 

const int plinfo::fl_first_regular_seg = 0x0008 [static, protected]
 

const int plinfo::fl_regular_seg = 0x0001 [static, protected]
 

const int plinfo::fl_transport_error = 0x0020 [static, protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Mar 15 23:55:37 2005 for GNU Radio by  doxygen 1.4.0