AbstractOperationTracer Class

class QInstaller::AbstractOperationTracer

The AbstractOperationTracer is a pure virtual base class for classes tracing starting and finishing of installer operations. More...

Header: #include <AbstractOperationTracer>
Inherited By:

QInstaller::ConcurrentOperationTracer and QInstaller::OperationTracer

Public Functions

AbstractOperationTracer(QInstaller::Operation *operation)
virtual ~AbstractOperationTracer()
virtual void trace(const QString &state) = 0

Detailed Description

Member Function Documentation

[explicit] AbstractOperationTracer::AbstractOperationTracer(QInstaller::Operation *operation)

Constructs tracer for operation. Objects of this class cannot be constructed directly, but the derived classes should explicitly call the base class constructor in their constructors.

[virtual constexpr noexcept] AbstractOperationTracer::~AbstractOperationTracer()

Destructs object. A subclass may override this method.

[pure virtual] void AbstractOperationTracer::trace(const QString &state)

Prints trace output for starting operation in state. A subclass should implement this method.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.