MythTV  master
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CommDetectorBase Class Referenceabstract

Abstract base class for all CommDetectors. More...

#include <CommDetectorBase.h>

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

Signals

void statusUpdate (const QString &a)
 
void gotNewCommercialBreakList ()
 
void breathe ()
 

Public Member Functions

 CommDetectorBase ()
 
virtual bool go ()=0
 
void stop ()
 
void pause ()
 
void resume ()
 
virtual void GetCommercialBreakList (frm_dir_map_t &comms)=0
 
virtual void recordingFinished (long long totalFileSize)
 
virtual void requestCommBreakMapUpdate (void)
 
virtual void PrintFullMap (ostream &out, const frm_dir_map_t *comm_breaks, bool verbose) const =0
 

Protected Member Functions

 ~CommDetectorBase ()=default
 

Protected Attributes

bool m_bPaused
 
bool m_bStop
 

Detailed Description

Abstract base class for all CommDetectors.

Please use the CommDetectFactory to make actual instances.

Definition at line 27 of file CommDetectorBase.h.

Constructor & Destructor Documentation

◆ CommDetectorBase()

CommDetectorBase::CommDetectorBase ( )

Definition at line 3 of file CommDetectorBase.cpp.

◆ ~CommDetectorBase()

CommDetectorBase::~CommDetectorBase ( )
protecteddefault

Member Function Documentation

◆ go()

virtual bool CommDetectorBase::go ( )
pure virtual

◆ stop()

void CommDetectorBase::stop ( void  )

Definition at line 7 of file CommDetectorBase.cpp.

Referenced by commDetectorBreathe().

◆ pause()

void CommDetectorBase::pause ( )

Definition at line 12 of file CommDetectorBase.cpp.

Referenced by commDetectorBreathe().

◆ resume()

void CommDetectorBase::resume ( )

Definition at line 17 of file CommDetectorBase.cpp.

Referenced by commDetectorBreathe().

◆ GetCommercialBreakList()

virtual void CommDetectorBase::GetCommercialBreakList ( frm_dir_map_t comms)
pure virtual

◆ recordingFinished()

virtual void CommDetectorBase::recordingFinished ( long long  totalFileSize)
inlinevirtual

Reimplemented in ClassicCommDetector, and CommDetector2.

Definition at line 40 of file CommDetectorBase.h.

Referenced by incomingCustomEvent(), and CommDetector2::recordingFinished().

◆ requestCommBreakMapUpdate()

virtual void CommDetectorBase::requestCommBreakMapUpdate ( void  )
inlinevirtual

Reimplemented in ClassicCommDetector, and CommDetector2.

Definition at line 42 of file CommDetectorBase.h.

Referenced by incomingCustomEvent().

◆ PrintFullMap()

virtual void CommDetectorBase::PrintFullMap ( ostream &  out,
const frm_dir_map_t comm_breaks,
bool  verbose 
) const
pure virtual

Implemented in ClassicCommDetector, and CommDetector2.

Referenced by print_comm_flag_output().

◆ statusUpdate

void CommDetectorBase::statusUpdate ( const QString &  a)
signal

◆ gotNewCommercialBreakList

void CommDetectorBase::gotNewCommercialBreakList ( )
signal

◆ breathe

void CommDetectorBase::breathe ( )
signal

Member Data Documentation

◆ m_bPaused

bool CommDetectorBase::m_bPaused
protected

◆ m_bStop

bool CommDetectorBase::m_bStop
protected

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