| OpenMW
   
    | 
#include <operation.hpp>
| Public Slots | |
| void | abort () | 
| Signals | |
| void | progress (int current, int max, int type) | 
| void | reportMessage (const QString &message, int type) | 
| void | done (int type) | 
| Public Member Functions | |
| Operation (int type, bool ordered, bool finalAlways=false) | |
| virtual | ~Operation () | 
| virtual void | run () | 
| void | appendStage (Stage *stage) | 
| bool | hasError () const | 
| Private Slots | |
| void | executeStage () | 
| void | operationDone () | 
| Private Member Functions | |
| void | prepareStages () | 
| Private Attributes | |
| int | mType | 
| std::vector< std::pair< Stage *, int > > | mStages | 
| std::vector< std::pair< Stage *, int > >::iterator | mCurrentStage | 
| int | mCurrentStep | 
| int | mCurrentStepTotal | 
| int | mTotalSteps | 
| int | mOrdered | 
| bool | mFinalAlways | 
| bool | mError | 
| CSMDoc::Operation::Operation | ( | int | type, | 
| bool | ordered, | ||
| bool | finalAlways = false | ||
| ) | 
| 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.
| void CSMDoc::Operation::done | ( | int | type | ) |  [signal] | 
| void CSMDoc::Operation::executeStage | ( | ) |  [private, slot] | 
| bool CSMDoc::Operation::hasError | ( | ) | const | 
| void CSMDoc::Operation::operationDone | ( | ) |  [private, slot] | 
| void CSMDoc::Operation::prepareStages | ( | ) |  [private] | 
| void CSMDoc::Operation::progress | ( | int | current, | 
| int | max, | ||
| int | type | ||
| ) |  [signal] | 
| void CSMDoc::Operation::reportMessage | ( | const QString & | message, | 
| int | type | ||
| ) |  [signal] | 
| void CSMDoc::Operation::run | ( | ) |  [virtual] | 
| 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] | 
| std::vector<std::pair<Stage *, int> > CSMDoc::Operation::mStages  [private] | 
| int CSMDoc::Operation::mTotalSteps  [private] | 
| int CSMDoc::Operation::mType  [private] | 
 1.7.6.1
 1.7.6.1