📄 ibdatuner.h
字号:
/*+++ *******************************************************************\
*
* Copyright and Disclaimer:
*
* ---------------------------------------------------------------
* This software is provided "AS IS" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of noninfringement, merchantability and/or
* fitness for a particular purpose.
* ---------------------------------------------------------------
*
* Copyright (c) 2004 Conexant Systems, Inc.
* All rights reserved.
*
\******************************************************************* ---*/
#ifndef _I_BDA_TUNER_H_
#define _I_BDA_TUNER_H_
/////////////////////////////////////////////////////////////////////////////////////////
//Class IBdaTuner is a pure virtual base class for BDA tuner/demod objects that supplies
// the basic functions needed to set the frequency in the BDA tuner, or query it
// for the signal strength.
//
// The member functions should have the bdaTuner_ prefix so that they can be differentiated
// from other functions in multiple inheritance.
//
// Be sure to leave this class with only functions in it to prevent extra overhead if it
// is used for multiple inheritance.
//
class IBdaTuner
{
public:
virtual ~IBdaTuner(){}
virtual BOOL bdaTuner_initialize() = 0;
//Get BDA signal statistics
virtual BOOL bdaTuner_isSignalLocked() = 0; //{return TRUE;}
virtual DWORD bdaTuner_getSignalStrength() = 0; //{return 100;}
virtual DWORD bdaTuner_getSignalQuality() = 0; //{return 100;}
virtual DWORD bdaTuner_getTunerFreqOffset() = 0; //{return 100;}
//Set the frequency
virtual BOOL bdaTuner_setFrequency(DWORD frequency, DWORD bandwidth) = 0;
virtual BOOL bdaTuner_powerDown() = 0;
virtual BOOL bdaTuner_powerUp() = 0;
virtual BOOL bdaTuner_setMode(ULONG mode) = 0;
virtual BOOL bdaTuner_resetDigitalTuner() = 0;
protected:
private:
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -