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

#include <filldata.h>

Collaboration diagram for FillData:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

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

Public Attributes

ProgramData m_prog_data
 
ChannelData m_chan_data
 
XMLTVParser m_xmltv_parser
 
QString m_logged_in
 
QString m_lastdduserid
 
QString m_graboptions
 
int m_raw_lineup {0}
 
uint m_maxDays {0}
 
bool m_interrupted {false}
 
bool m_endofdata {false}
 
bool m_refresh_tba {true}
 
bool m_dd_grab_all {false}
 
bool m_dddataretrieved {false}
 
bool m_need_post_grab_proc {true}
 
bool m_only_update_channels {false}
 
bool m_channel_update_run {false}
 
bool m_no_allatonce {false}
 

Private Attributes

QMap< uint, boolm_refresh_day
 
bool m_refresh_all {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 72 of file filldata.cpp.

Referenced by main().

◆ GrabDataFromFile()

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

Definition at line 90 of file filldata.cpp.

Referenced by main().

◆ GrabData()

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

Definition at line 112 of file filldata.cpp.

◆ Run()

bool FillData::Run ( SourceList 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 226 of file filldata.cpp.

Referenced by main().

Member Data Documentation

◆ m_prog_data

ProgramData FillData::m_prog_data

Definition at line 63 of file filldata.h.

◆ m_chan_data

ChannelData FillData::m_chan_data

Definition at line 64 of file filldata.h.

Referenced by main().

◆ m_xmltv_parser

XMLTVParser FillData::m_xmltv_parser

Definition at line 65 of file filldata.h.

◆ m_logged_in

QString FillData::m_logged_in

Definition at line 67 of file filldata.h.

◆ m_lastdduserid

QString FillData::m_lastdduserid

Definition at line 68 of file filldata.h.

◆ m_graboptions

QString FillData::m_graboptions

Definition at line 69 of file filldata.h.

Referenced by main().

◆ m_raw_lineup

int FillData::m_raw_lineup {0}

Definition at line 70 of file filldata.h.

◆ m_maxDays

uint FillData::m_maxDays {0}

Definition at line 71 of file filldata.h.

Referenced by main().

◆ m_interrupted

bool FillData::m_interrupted {false}

Definition at line 73 of file filldata.h.

◆ m_endofdata

bool FillData::m_endofdata {false}

Definition at line 74 of file filldata.h.

◆ m_refresh_tba

bool FillData::m_refresh_tba {true}

Definition at line 75 of file filldata.h.

Referenced by main().

◆ m_dd_grab_all

bool FillData::m_dd_grab_all {false}

Definition at line 76 of file filldata.h.

◆ m_dddataretrieved

bool FillData::m_dddataretrieved {false}

Definition at line 77 of file filldata.h.

◆ m_need_post_grab_proc

bool FillData::m_need_post_grab_proc {true}

Definition at line 78 of file filldata.h.

Referenced by main().

◆ m_only_update_channels

bool FillData::m_only_update_channels {false}

Definition at line 79 of file filldata.h.

Referenced by main().

◆ m_channel_update_run

bool FillData::m_channel_update_run {false}

Definition at line 80 of file filldata.h.

◆ m_no_allatonce

bool FillData::m_no_allatonce {false}

Definition at line 81 of file filldata.h.

Referenced by main().

◆ m_refresh_day

QMap<uint,bool> FillData::m_refresh_day
private

Definition at line 84 of file filldata.h.

◆ m_refresh_all

bool FillData::m_refresh_all {false}
private

Definition at line 85 of file filldata.h.

◆ m_fatalErrors

QStringList FillData::m_fatalErrors
mutableprivate

Definition at line 86 of file filldata.h.


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