class
ScopedLongOperationTracker
Inherits:
LongOperationTracker
Automatically notifies the tracker that the operation started when the scoped tracker is constructed, and finished when the scoped tracker is destructed (unless the operation was aborted or failed meanwhile).
Public
Constructors
ScopedLongOperationTracker
ScopedLongOperationTracker(String name, LongOperationFlags flags = LongOperationFlag::None, String description = StringUtility::kBlank, String category = StringUtility::kBlank)
- name
- Name that describes the operation being executed.
- flags
- Flags that describe how the operation is being executed.
- description
- Additional information about the operation.
- category
- Category that may be used for grouping similar operations together.
Methods
~ScopedLongOperationTracker
~ScopedLongOperationTracker() noexcept