- /// Returns whether the operation can be started. Check if there is already started operation and
- /// the granted parameter of the launched operation
- /// \param theOperation an operation to check
- bool canStartOperation(ModuleBase_Operation* theOperation);
-
- /// Returns whether the operation can be stopped.
- bool canStopOperation();
-
- /// Returns true if the operation can be aborted
- bool canAbortOperation();
-
- void validateOperation(ModuleBase_Operation* theOperation);
-
- protected slots:
- /// Slot that commits the current operation.
- void onCommitOperation();
- /// Slot that aborts the current operation.
- void onAbortOperation();
-
- /// Slot that is called by an operation stop. Removes the stopped operation form the stack.
- /// If there is a suspended operation, restart it.
- void onOperationStopped();
-