kradio4  r778
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RDSGroup Class Reference

#include <rds_group.h>

Public Member Functions

 RDSGroup ()
virtual ~RDSGroup ()
virtual int addRawData (const unsigned char *rawdata, int size)=0
virtual void clear ()
virtual bool isComplete () const =0
int getPI () const
int getTP () const
int getPTY () const
int getGroupType () const
unsigned short getBlock (unsigned int block_nr) const
double statsBlockErrorRate () const
double statsGroupErrorRate () const

Protected Member Functions

void statsAccountGroupError (int nGroups, int nErrors)
void statsAccountBlockError (int nGroups, int nErrors)
void decode ()

Protected Attributes

unsigned short m_rawdata [RDS_BLK_MAXCOUNT]
int m_pty
int m_group_code
bool m_tp
int m_pi_code
int m_stats_group_count
int m_stats_group_errors
int m_stats_block_count
int m_stats_block_errors

Detailed Description

Definition at line 78 of file rds_group.h.

Constructor & Destructor Documentation

RDSGroup::RDSGroup ( )
virtual RDSGroup::~RDSGroup ( )
virtual

Member Function Documentation

virtual int RDSGroup::addRawData ( const unsigned char *  rawdata,
int  size 
)
pure virtual
virtual void RDSGroup::clear ( )
virtual
void RDSGroup::decode ( )
protected
unsigned short RDSGroup::getBlock ( unsigned int  block_nr) const
inline

Definition at line 93 of file rds_group.h.

References RDS_BLK_D.

int RDSGroup::getGroupType ( ) const
inline

Definition at line 91 of file rds_group.h.

int RDSGroup::getPI ( ) const
inline

Definition at line 88 of file rds_group.h.

int RDSGroup::getPTY ( ) const
inline

Definition at line 90 of file rds_group.h.

int RDSGroup::getTP ( ) const
inline

Definition at line 89 of file rds_group.h.

virtual bool RDSGroup::isComplete ( ) const
pure virtual
void RDSGroup::statsAccountBlockError ( int  nGroups,
int  nErrors 
)
protected
void RDSGroup::statsAccountGroupError ( int  nGroups,
int  nErrors 
)
protected
double RDSGroup::statsBlockErrorRate ( ) const
double RDSGroup::statsGroupErrorRate ( ) const

Member Data Documentation

int RDSGroup::m_group_code
protected

Definition at line 107 of file rds_group.h.

int RDSGroup::m_pi_code
protected

Definition at line 109 of file rds_group.h.

int RDSGroup::m_pty
protected

Definition at line 106 of file rds_group.h.

unsigned short RDSGroup::m_rawdata[RDS_BLK_MAXCOUNT]
protected

Definition at line 104 of file rds_group.h.

int RDSGroup::m_stats_block_count
protected

Definition at line 113 of file rds_group.h.

int RDSGroup::m_stats_block_errors
protected

Definition at line 114 of file rds_group.h.

int RDSGroup::m_stats_group_count
protected

Definition at line 111 of file rds_group.h.

int RDSGroup::m_stats_group_errors
protected

Definition at line 112 of file rds_group.h.

bool RDSGroup::m_tp
protected

Definition at line 108 of file rds_group.h.


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