Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ContourObserver.h File Reference

Progress-event types and callback interface for contour extraction. More...

#include <cstddef>
#include <functional>
#include <string>
Include dependency graph for ContourObserver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ContourProgressEvent
 Payload passed to contour progress callbacks. More...
 

Typedefs

using ContourProgressCallback = std::function< void(const ContourProgressEvent &)>
 Callback signature used to receive contour progress events.
 

Enumerations

enum class  ContourProgressEventType {
  Started , PathPoint , PathFinished , Finished ,
  Failed
}
 Type of progress notification emitted during contour computation. More...
 

Detailed Description

Progress-event types and callback interface for contour extraction.

The contour machinery can report coarse-grained lifecycle events and fine-grained path-point events through ContourProgressCallback. This is intentionally UI-agnostic: consumers may log events, update a progress bar, or stream contour points as they are produced.

Definition in file ContourObserver.h.

Typedef Documentation

◆ ContourProgressCallback

using ContourProgressCallback = std::function<void(const ContourProgressEvent&)>

Callback signature used to receive contour progress events.

Definition at line 61 of file ContourObserver.h.

Enumeration Type Documentation

◆ ContourProgressEventType

enum class ContourProgressEventType
strong

Type of progress notification emitted during contour computation.

Enumerator
Started 

Contour computation has started.

PathPoint 

A new point on a contour path is available.

PathFinished 

A contour path has been completed.

Finished 

Contour computation finished normally.

Failed 

Contour computation failed and no valid result was produced.

Definition at line 22 of file ContourObserver.h.