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

Abstract base class for all CommDetectors. Please use the CommDetectFactory to make actual instances. More...

#include <mythcommflag/CommDetectorBase.h>

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

Signals

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

Public Member Functions

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

Protected Member Functions

 ~CommDetectorBase () override=default
 

Protected Attributes

bool m_bPaused { false }
 
bool m_bStop { false }
 

Detailed Description

Abstract base class for all CommDetectors. Please use the CommDetectFactory to make actual instances.

Definition at line 26 of file CommDetectorBase.h.

Constructor & Destructor Documentation

◆ CommDetectorBase()

CommDetectorBase::CommDetectorBase ( )
default

◆ ~CommDetectorBase()

CommDetectorBase::~CommDetectorBase ( )
overrideprotecteddefault

Member Function Documentation

◆ go()

virtual bool CommDetectorBase::go ( )
pure virtual

◆ stop()

void CommDetectorBase::stop ( )

Definition at line 3 of file CommDetectorBase.cpp.

Referenced by commDetectorBreathe().

◆ pause()

void CommDetectorBase::pause ( )

Definition at line 8 of file CommDetectorBase.cpp.

Referenced by commDetectorBreathe().

◆ resume()

void CommDetectorBase::resume ( )

Definition at line 13 of file CommDetectorBase.cpp.

Referenced by commDetectorBreathe().

◆ GetCommercialBreakList()

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

◆ recordingFinished()

virtual void CommDetectorBase::recordingFinished ( [[maybe_unused] ] long long  totalFileSize)
inlinevirtual

Definition at line 39 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 40 of file CommDetectorBase.h.

Referenced by incomingCustomEvent().

◆ PrintFullMap()

virtual void CommDetectorBase::PrintFullMap ( std::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 { false }
protected

◆ m_bStop

bool CommDetectorBase::m_bStop { false }
protected

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