Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
Loading...
Searching...
No Matches
aria::GraphInspector::ScopedTracer Class Reference

RAII guard — install a tracer for the lifetime of a scope, then restore the previous tracer (or no tracer) on destruction. More...

#include <inspector.hpp>

Public Member Functions

 ScopedTracer (FlushTracer tracer)
 ScopedTracer (const ScopedTracer &)=delete
 ~ScopedTracer ()
ScopedTraceroperator= (const ScopedTracer &)=delete

Detailed Description

RAII guard — install a tracer for the lifetime of a scope, then restore the previous tracer (or no tracer) on destruction.

Ideal inside tests or short debugging sessions so you cannot forget to unplug the hook.

Constructor & Destructor Documentation

◆ ScopedTracer() [1/2]

◆ ScopedTracer() [2/2]

◆ ~ScopedTracer()

Member Function Documentation

◆ operator=()

ScopedTracer & aria::reactive::GraphInspector::ScopedTracer::operator= ( const ScopedTracer & )
delete

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