OperationTracer Class | Qt Installer Framework Manual

- Qt Installer Framework Manual
- OperationTracer

# OperationTracer Class

class QInstaller::OperationTracer

The OperationTracer prints trace output for starting of operations and automatically indicates finish on destruction. More...

Header: | #include <OperationTracer>
Inherits: | QInstaller::AbstractOperationTracer

- List of all members, including inherited members

## Public Functions

| OperationTracer(QInstaller::Operation *operation)
virtual | ~OperationTracer() override

## Reimplemented Public Functions

virtual void | trace(const QString &state) override

## Detailed Description

## Member Function Documentation

### `[explicit]` OperationTracer::OperationTracer(QInstaller::Operation *operation)

Constructs tracer for operation.

### `[override virtual noexcept]` OperationTracer::~OperationTracer()

Destructs object and prints message indicating finished operation.

### `[override virtual]` void OperationTracer::trace(const QString &state)

Reimplements: AbstractOperationTracer::trace(const QString &state).

Prints trace output for starting operation in state.