Contur 2
Educational OS kernel simulator
Loading...
Searching...
No Matches
contur::IKernelReadModel Class Referenceabstract

Read-only adapter contract for capturing UI-facing kernel snapshots. More...

#include <i_kernel_read_model.h>

Inheritance diagram for contur::IKernelReadModel:

Public Member Functions

virtual ~IKernelReadModel ()=default
 Virtual destructor for interface-safe polymorphic cleanup.
virtual Result< TuiSnapshotcaptureSnapshot () const =0
 Captures current kernel state into an immutable TUI snapshot.

Detailed Description

Read-only adapter contract for capturing UI-facing kernel snapshots.

Definition at line 16 of file i_kernel_read_model.h.

Constructor & Destructor Documentation

◆ ~IKernelReadModel()

virtual contur::IKernelReadModel::~IKernelReadModel ( )
virtualdefault

Virtual destructor for interface-safe polymorphic cleanup.

Member Function Documentation

◆ captureSnapshot()

virtual Result< TuiSnapshot > contur::IKernelReadModel::captureSnapshot ( ) const
nodiscardpure virtual

Captures current kernel state into an immutable TUI snapshot.

Returns
TUI snapshot or error.

Implemented in contur::KernelReadModel.


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