ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::core::ScopedProgressObserver Class Reference

Route progress started on this thread to observer for the lifetime of the scope, without touching the process-global observer. More...

#include <processing_observer.hpp>

Public Member Functions

 ScopedProgressObserver (IProgressObserver *observer)
 ~ScopedProgressObserver ()
 ScopedProgressObserver (const ScopedProgressObserver &)=delete
ScopedProgressObserver & operator= (const ScopedProgressObserver &)=delete

Detailed Description

Route progress started on this thread to observer for the lifetime of the scope, without touching the process-global observer.

Scopes nest; the destructor reinstates whatever was current before. Must be destroyed on the thread that created it.

Per-job progress in a process that runs several stages concurrently: each job's worker thread installs its own scope, so two jobs never see each other's events (see ProgressObserver for why updates made from pool threads still arrive).

Definition at line 108 of file processing_observer.hpp.

Constructor & Destructor Documentation

◆ ScopedProgressObserver() [1/2]

reusex::core::ScopedProgressObserver::ScopedProgressObserver ( IProgressObserver * observer)
explicit

◆ ~ScopedProgressObserver()

reusex::core::ScopedProgressObserver::~ScopedProgressObserver ( )

◆ ScopedProgressObserver() [2/2]

reusex::core::ScopedProgressObserver::ScopedProgressObserver ( const ScopedProgressObserver & )
delete

Member Function Documentation

◆ operator=()

ScopedProgressObserver & reusex::core::ScopedProgressObserver::operator= ( const ScopedProgressObserver & )
delete

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