#include <operation.hpp>
CSMDoc::Operation::Operation |
( |
int |
type, |
|
|
bool |
ordered, |
|
|
bool |
finalAlways = false |
|
) |
| |
- Parameters
-
ordered | Stages must be executed in the given order. |
finalAlways | Execute last stage even if an error occurred during earlier stages. |
CSMDoc::Operation::~Operation |
( |
| ) |
|
|
virtual |
void CSMDoc::Operation::abort |
( |
| ) |
|
|
slot |
void CSMDoc::Operation::appendStage |
( |
Stage * |
stage | ) |
|
The ownership of stage is transferred to *this.
- Attention
- Do no call this function while this Operation is running.
void CSMDoc::Operation::done |
( |
int |
type, |
|
|
bool |
failed |
|
) |
| |
|
signal |
void CSMDoc::Operation::executeStage |
( |
| ) |
|
|
privateslot |
bool CSMDoc::Operation::hasError |
( |
| ) |
const |
void CSMDoc::Operation::operationDone |
( |
| ) |
|
|
protectedvirtualslot |
void CSMDoc::Operation::prepareStages |
( |
| ) |
|
|
private |
void CSMDoc::Operation::progress |
( |
int |
current, |
|
|
int |
max, |
|
|
int |
type |
|
) |
| |
|
signal |
void CSMDoc::Operation::run |
( |
| ) |
|
|
slot |
- Attention
- Do no call this function while this Operation is running.
bool CSMDoc::Operation::mConnected |
|
private |
std::vector<std::pair<Stage *, int> >::iterator CSMDoc::Operation::mCurrentStage |
|
private |
int CSMDoc::Operation::mCurrentStep |
|
private |
int CSMDoc::Operation::mCurrentStepTotal |
|
private |
bool CSMDoc::Operation::mError |
|
private |
bool CSMDoc::Operation::mFinalAlways |
|
private |
int CSMDoc::Operation::mOrdered |
|
private |
bool CSMDoc::Operation::mPrepared |
|
private |
std::vector<std::pair<Stage *, int> > CSMDoc::Operation::mStages |
|
private |
QTimer* CSMDoc::Operation::mTimer |
|
private |
int CSMDoc::Operation::mTotalSteps |
|
private |
int CSMDoc::Operation::mType |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/apps/opencs/model/doc/operation.hpp
- /home/travis/build/OpenMW/openmw/apps/opencs/model/doc/operation.cpp