Abstract base class for all CommDetectors. More...
#include <CommDetectorBase.h>
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 () | |
Protected Attributes | |
| bool | m_bPaused |
| bool | m_bStop |
Abstract base class for all CommDetectors.
Please use the CommDetectFactory to make actual instances.
Definition at line 27 of file CommDetectorBase.h.
| CommDetectorBase::CommDetectorBase | ( | ) |
Definition at line 3 of file CommDetectorBase.cpp.
| CommDetectorBase::~CommDetectorBase | ( | ) | [inline, protected] |
Definition at line 53 of file CommDetectorBase.h.
| virtual bool CommDetectorBase::go | ( | ) | [pure virtual] |
Implemented in ClassicCommDetector, CommDetector2, and PrePostRollFlagger.
Referenced by DoFlagCommercials().
| void CommDetectorBase::stop | ( | void | ) |
Definition at line 7 of file CommDetectorBase.cpp.
Referenced by commDetectorBreathe().
| void CommDetectorBase::pause | ( | ) |
Definition at line 12 of file CommDetectorBase.cpp.
Referenced by commDetectorBreathe().
| void CommDetectorBase::resume | ( | ) |
Definition at line 17 of file CommDetectorBase.cpp.
Referenced by commDetectorBreathe().
| virtual void CommDetectorBase::GetCommercialBreakList | ( | frm_dir_map_t & | comms | ) | [pure virtual] |
Implemented in ClassicCommDetector, CommDetector2, and PrePostRollFlagger.
Referenced by commDetectorGotNewCommercialBreakList(), and DoFlagCommercials().
| virtual void CommDetectorBase::recordingFinished | ( | long long | totalFileSize | ) | [inline, virtual] |
Reimplemented in ClassicCommDetector, and CommDetector2.
Definition at line 40 of file CommDetectorBase.h.
Referenced by incomingCustomEvent().
| virtual void CommDetectorBase::requestCommBreakMapUpdate | ( | void | ) | [inline, virtual] |
Reimplemented in ClassicCommDetector, and CommDetector2.
Definition at line 42 of file CommDetectorBase.h.
Referenced by incomingCustomEvent().
| 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().
| void CommDetectorBase::statusUpdate | ( | const QString & | a | ) | [signal] |
| void CommDetectorBase::gotNewCommercialBreakList | ( | ) | [signal] |
Referenced by PrePostRollFlagger::go(), CommDetector2::go(), and ClassicCommDetector::go().
| void CommDetectorBase::breathe | ( | ) | [signal] |
bool CommDetectorBase::m_bPaused [protected] |
Definition at line 54 of file CommDetectorBase.h.
Referenced by PrePostRollFlagger::findBreakInrange(), CommDetector2::go(), ClassicCommDetector::go(), pause(), and resume().
bool CommDetectorBase::m_bStop [protected] |
Definition at line 55 of file CommDetectorBase.h.
Referenced by PrePostRollFlagger::findBreakInrange(), PrePostRollFlagger::go(), CommDetector2::go(), ClassicCommDetector::go(), ClassicLogoDetector::searchForLogo(), and stop().
1.6.3