#include <InfoLoader.h>
◆ CInfoLoader()
CInfoLoader::CInfoLoader |
( |
unsigned int | timeToRefresh = 5 * 60 * 1000 | ) |
|
|
explicit |
◆ ~CInfoLoader()
CInfoLoader::~CInfoLoader |
( |
| ) |
|
|
overridedefault |
◆ BusyInfo()
std::string CInfoLoader::BusyInfo |
( |
int | info | ) |
const |
|
protectedvirtual |
◆ GetInfo()
std::string CInfoLoader::GetInfo |
( |
int | info | ) |
|
◆ GetJob()
virtual CJob * CInfoLoader::GetJob |
( |
| ) |
const |
|
protectedpure virtual |
◆ OnJobComplete()
void CInfoLoader::OnJobComplete |
( |
unsigned int | jobID, |
|
|
bool | success, |
|
|
CJob * | job ) |
|
overridevirtual |
The callback used when a job completes.
OnJobComplete is called at the completion of the job's DoWork() function, and is used to return information to the caller on the result of the job. On returning form this function the CJobManager will destroy this job.
- Parameters
-
jobID | the unique id of the job (as retrieved from CJobManager::AddJob) |
success | the result from the DoWork call |
job | the job that has been processed. The job will be destroyed after this function returns |
- See also
- CJobManager and CJob
Implements IJobCallback.
Reimplemented in CSysInfo, and CWeatherManager.
◆ Refresh()
void CInfoLoader::Refresh |
( |
| ) |
|
◆ TranslateInfo()
std::string CInfoLoader::TranslateInfo |
( |
int | info | ) |
const |
|
protectedvirtual |
The documentation for this class was generated from the following files: