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

#include <seekhelper.h>

Inheritance diagram for SeekHelper:
Inheritance graph
[legend]
Collaboration diagram for SeekHelper:
Collaboration graph
[legend]

Public Types

enum  state_t { off, searchWorse, searchBest }
 
enum  direction_t { up, down }
 

Public Member Functions

 SeekHelper (ISeekRadio &parent)
 
virtual ~SeekHelper ()
 
virtual bool connectI (Interface *i)
 
virtual bool disconnectI (Interface *i)
 
virtual void start (const SoundStreamID &id, direction_t dir)
 
virtual void step ()
 
virtual void stop ()
 
bool isRunning () const
 
bool isRunningUp () const
 
bool isRunningDown () const
 
RECEIVERS const IRadioDevice *bool noticeStationChanged (const RadioStation &, const IRadioDevice *)
 
bool noticeDescriptionChanged (const QString &, const IRadioDevice *)
 
bool noticeRDSStateChanged (bool, const IRadioDevice *)
 
bool noticeRDSRadioTextChanged (const QString &, const IRadioDevice *)
 
bool noticeRDSStationNameChanged (const QString &, const IRadioDevice *)
 
bool noticeCurrentSoundStreamSourceIDChanged (SoundStreamID, const IRadioDevice *)
 
bool noticeCurrentSoundStreamSinkIDChanged (SoundStreamID, const IRadioDevice *)
 

Public Attributes

RECEIVERS __pad0__: bool noticePowerChanged (bool
 

Protected Member Functions

virtual void finish ()
 
virtual void abort ()=0
 
virtual bool isGood () const =0
 
virtual bool isBetter () const =0
 
virtual bool isWorse () const =0
 
virtual bool bestFound () const =0
 
virtual void getData ()=0
 
virtual void rememberBest ()=0
 
virtual bool nextSeekStep ()=0
 
virtual void applyBest ()=0
 

Protected Attributes

state_t m_state
 
direction_t m_direction
 
bool m_oldMute
 
ISeekRadio & m_parent
 
SoundStreamID m_SoundStreamID
 

Detailed Description

Definition at line 31 of file seekhelper.h.

Member Enumeration Documentation

Enumerator
up 
down 

Definition at line 36 of file seekhelper.h.

Enumerator
off 
searchWorse 
searchBest 

Definition at line 35 of file seekhelper.h.

Constructor & Destructor Documentation

SeekHelper::SeekHelper ( ISeekRadio &  parent)
virtual SeekHelper::~SeekHelper ( )
virtual

Member Function Documentation

virtual void SeekHelper::abort ( )
protectedpure virtual

Implemented in FrequencySeekHelper.

virtual void SeekHelper::applyBest ( )
protectedpure virtual

Implemented in FrequencySeekHelper.

virtual bool SeekHelper::bestFound ( ) const
protectedpure virtual

Implemented in FrequencySeekHelper.

virtual bool SeekHelper::connectI ( Interface *  i)
virtual

Reimplemented in FrequencySeekHelper.

virtual bool SeekHelper::disconnectI ( Interface *  i)
virtual

Reimplemented in FrequencySeekHelper.

virtual void SeekHelper::finish ( )
protectedvirtual
virtual void SeekHelper::getData ( )
protectedpure virtual

Implemented in FrequencySeekHelper.

virtual bool SeekHelper::isBetter ( ) const
protectedpure virtual

Implemented in FrequencySeekHelper.

virtual bool SeekHelper::isGood ( ) const
protectedpure virtual

Implemented in FrequencySeekHelper.

bool SeekHelper::isRunning ( ) const
inline

Definition at line 48 of file seekhelper.h.

bool SeekHelper::isRunningDown ( ) const
inline

Definition at line 50 of file seekhelper.h.

bool SeekHelper::isRunningUp ( ) const
inline

Definition at line 49 of file seekhelper.h.

virtual bool SeekHelper::isWorse ( ) const
protectedpure virtual

Implemented in FrequencySeekHelper.

virtual bool SeekHelper::nextSeekStep ( )
protectedpure virtual

Implemented in FrequencySeekHelper.

bool SeekHelper::noticeCurrentSoundStreamSinkIDChanged ( SoundStreamID  ,
const IRadioDevice *   
)
inline

Definition at line 64 of file seekhelper.h.

bool SeekHelper::noticeCurrentSoundStreamSourceIDChanged ( SoundStreamID  ,
const IRadioDevice *   
)
inline

Definition at line 63 of file seekhelper.h.

bool SeekHelper::noticeDescriptionChanged ( const QString &  ,
const IRadioDevice *   
)
inline

Definition at line 57 of file seekhelper.h.

bool SeekHelper::noticeRDSRadioTextChanged ( const QString &  ,
const IRadioDevice *   
)
inline

Definition at line 60 of file seekhelper.h.

bool SeekHelper::noticeRDSStateChanged ( bool  ,
const IRadioDevice *   
)
inline

Definition at line 59 of file seekhelper.h.

bool SeekHelper::noticeRDSStationNameChanged ( const QString &  ,
const IRadioDevice *   
)
inline

Definition at line 61 of file seekhelper.h.

RECEIVERS const IRadioDevice* bool SeekHelper::noticeStationChanged ( const RadioStation &  ,
const IRadioDevice *   
)
inline

Definition at line 56 of file seekhelper.h.

virtual void SeekHelper::rememberBest ( )
protectedpure virtual

Implemented in FrequencySeekHelper.

virtual void SeekHelper::start ( const SoundStreamID id,
direction_t  dir 
)
virtual

Reimplemented in FrequencySeekHelper.

virtual void SeekHelper::step ( )
virtual
virtual void SeekHelper::stop ( )
virtual

Member Data Documentation

RECEIVERS SeekHelper::__pad0__

Definition at line 55 of file seekhelper.h.

direction_t SeekHelper::m_direction
protected

Definition at line 82 of file seekhelper.h.

bool SeekHelper::m_oldMute
protected

Definition at line 83 of file seekhelper.h.

ISeekRadio& SeekHelper::m_parent
protected

Definition at line 85 of file seekhelper.h.

SoundStreamID SeekHelper::m_SoundStreamID
protected

Definition at line 86 of file seekhelper.h.

state_t SeekHelper::m_state
protected

Definition at line 81 of file seekhelper.h.


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