MythTV  master
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
FillData Class Reference

#include <mythfilldatabase/filldata.h>

Collaboration diagram for FillData:
[legend]

Public Types

enum  { kRefreshClear = 0xFFFF0, kRefreshAll = 0xFFFF1 }
 

Public Member Functions

 FillData ()
 
void SetRefresh (int day, bool set)
 
bool GrabDataFromFile (int id, const QString &filename)
 
bool GrabData (const DataSource &source, int offset)
 
bool Run (DataSourceList &sourcelist)
 Goes through the sourcelist and updates its channels with program info grabbed with the associated grabber. More...
 

Public Attributes

ChannelData m_chanData
 
XMLTVParser m_xmltvParser
 
QString m_grabOptions
 
uint m_maxDays {0}
 
bool m_interrupted {false}
 
bool m_endOfData {false}
 
bool m_refreshTba {true}
 
bool m_needPostGrabProc {true}
 
bool m_onlyUpdateChannels {false}
 
bool m_channelUpdateRun {false}
 
bool m_noAllAtOnce {false}
 

Private Attributes

QMap< uint, boolm_refreshDay
 
bool m_refreshAll {false}
 
QStringList m_fatalErrors
 

Detailed Description

Definition at line 42 of file filldata.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kRefreshClear 
kRefreshAll 

Definition at line 56 of file filldata.h.

Constructor & Destructor Documentation

◆ FillData()

FillData::FillData ( )
inline

Definition at line 45 of file filldata.h.

Member Function Documentation

◆ SetRefresh()

void FillData::SetRefresh ( int  day,
bool  set 
)

Definition at line 70 of file filldata.cpp.

Referenced by FillData(), and main().

◆ GrabDataFromFile()

bool FillData::GrabDataFromFile ( int  id,
const QString &  filename 
)

Definition at line 88 of file filldata.cpp.

Referenced by GrabData(), and main().

◆ GrabData()

bool FillData::GrabData ( const DataSource source,
int  offset 
)

Definition at line 119 of file filldata.cpp.

Referenced by Run().

◆ Run()

bool FillData::Run ( DataSourceList sourcelist)

Goes through the sourcelist and updates its channels with program info grabbed with the associated grabber.

Returns
true if there were no failures

Definition at line 246 of file filldata.cpp.

Referenced by main().

Member Data Documentation

◆ m_chanData

ChannelData FillData::m_chanData

Definition at line 63 of file filldata.h.

Referenced by GrabDataFromFile(), and main().

◆ m_xmltvParser

XMLTVParser FillData::m_xmltvParser

Definition at line 64 of file filldata.h.

Referenced by GrabDataFromFile().

◆ m_grabOptions

QString FillData::m_grabOptions

Definition at line 66 of file filldata.h.

Referenced by GrabData(), and main().

◆ m_maxDays

uint FillData::m_maxDays {0}

Definition at line 67 of file filldata.h.

Referenced by main(), and Run().

◆ m_interrupted

bool FillData::m_interrupted {false}

Definition at line 69 of file filldata.h.

Referenced by GrabData(), and Run().

◆ m_endOfData

bool FillData::m_endOfData {false}

Definition at line 70 of file filldata.h.

Referenced by GrabDataFromFile(), and Run().

◆ m_refreshTba

bool FillData::m_refreshTba {true}

Definition at line 71 of file filldata.h.

Referenced by main().

◆ m_needPostGrabProc

bool FillData::m_needPostGrabProc {true}

Definition at line 72 of file filldata.h.

Referenced by main(), and Run().

◆ m_onlyUpdateChannels

bool FillData::m_onlyUpdateChannels {false}

Definition at line 73 of file filldata.h.

Referenced by GrabData(), GrabDataFromFile(), main(), and Run().

◆ m_channelUpdateRun

bool FillData::m_channelUpdateRun {false}

Definition at line 74 of file filldata.h.

Referenced by Run().

◆ m_noAllAtOnce

bool FillData::m_noAllAtOnce {false}

Definition at line 75 of file filldata.h.

Referenced by GrabData(), main(), and Run().

◆ m_refreshDay

QMap<uint,bool> FillData::m_refreshDay
private

Definition at line 78 of file filldata.h.

Referenced by Run(), and SetRefresh().

◆ m_refreshAll

bool FillData::m_refreshAll {false}
private

Definition at line 79 of file filldata.h.

Referenced by Run(), and SetRefresh().

◆ m_fatalErrors

QStringList FillData::m_fatalErrors
mutableprivate

Definition at line 80 of file filldata.h.

Referenced by GrabData(), and Run().


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