Libmagicxx v9.0.2
A C++ wrapper library over the Magic Number Recognition Library.
Loading...
Searching...
No Matches
recognition::utility::mark_tracker_as_completed Class Reference

RAII helper that marks a shared progress_tracker as completed upon destruction. More...

#include <progress_tracker.hpp>

Public Member Functions

 mark_tracker_as_completed (shared_progress_tracker_t shared_tracker) noexcept
 Construct mark_tracker_as_completed.
 
 ~mark_tracker_as_completed ()
 Mark the tracker as completed if it exists.
 

Private Attributes

shared_progress_tracker_t m_shared_tracker
 

Detailed Description

RAII helper that marks a shared progress_tracker as completed upon destruction.

Constructor & Destructor Documentation

◆ mark_tracker_as_completed()

recognition::utility::mark_tracker_as_completed::mark_tracker_as_completed ( shared_progress_tracker_t shared_tracker)
inlineexplicitnoexcept

Construct mark_tracker_as_completed.

Parameters
shared_trackerThe shared tracker to mark as completed.

◆ ~mark_tracker_as_completed()

recognition::utility::mark_tracker_as_completed::~mark_tracker_as_completed ( )
inline

Mark the tracker as completed if it exists.

Member Data Documentation

◆ m_shared_tracker

shared_progress_tracker_t recognition::utility::mark_tracker_as_completed::m_shared_tracker
private

The documentation for this class was generated from the following file: