#include <loader.hpp>
| CSMDoc::Loader::Loader |
( |
| ) |
|
Abort loading docuemnt (ignored if document has already finished being loaded). Will result in a documentNotLoaded signal, once the Loader has finished cleaning up.
| void CSMDoc::Loader::documentLoaded |
( |
Document * |
document | ) |
|
|
signal |
The ownership of document is not transferred.
| void CSMDoc::Loader::documentNotLoaded |
( |
Document * |
document, |
|
|
const std::string & |
error |
|
) |
| |
|
signal |
Document load has been interrupted either because of a call to abortLoading or a problem during loading). In the former case error will be an empty string.
| QWaitCondition & CSMDoc::Loader::hasThingsToDo |
( |
| ) |
|
| void CSMDoc::Loader::load |
( |
| ) |
|
|
privateslot |
The ownership of document is not transferred.
| void CSMDoc::Loader::loadMessage |
( |
CSMDoc::Document * |
document, |
|
|
const std::string & |
message |
|
) |
| |
|
signal |
Non-critical load error or warning.
- Note
- This signal is only given once per group of records. The group size is approximately the total number of records divided by the steps value of the previous nextStage signal.
| void CSMDoc::Loader::nextStage |
( |
CSMDoc::Document * |
document, |
|
|
const std::string & |
name, |
|
|
int |
totalRecords |
|
) |
| |
|
signal |
| void CSMDoc::Loader::stop |
( |
| ) |
|
| std::vector<std::pair<Document *, Stage> > CSMDoc::Loader::mDocuments |
|
private |
| QMutex CSMDoc::Loader::mMutex |
|
private |
| bool CSMDoc::Loader::mShouldStop |
|
private |
| QWaitCondition CSMDoc::Loader::mThingsToDo |
|
private |
| QTimer* CSMDoc::Loader::mTimer |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/elsid/openmw/apps/opencs/model/doc/loader.hpp
- /home/travis/build/elsid/openmw/apps/opencs/model/doc/loader.cpp