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

Composite dashboard contract for rendering full panel layout. More...

#include <dashboard.h>

Public Member Functions

virtual ~IDashboardView ()=default
 Virtual destructor for interface-safe polymorphic cleanup.
virtual Result< void > render (const TuiSnapshot &snapshot)=0
 Renders dashboard from immutable snapshot.
virtual void clear ()=0
 Clears dashboard surface.

Detailed Description

Composite dashboard contract for rendering full panel layout.

Definition at line 13 of file dashboard.h.

Constructor & Destructor Documentation

◆ ~IDashboardView()

virtual contur::IDashboardView::~IDashboardView ( )
virtualdefault

Virtual destructor for interface-safe polymorphic cleanup.

Member Function Documentation

◆ clear()

virtual void contur::IDashboardView::clear ( )
pure virtual

Clears dashboard surface.

◆ render()

virtual Result< void > contur::IDashboardView::render ( const TuiSnapshot & snapshot)
nodiscardpure virtual

Renders dashboard from immutable snapshot.

Parameters
snapshotFull TUI snapshot.
Returns
Ok on success or backend-specific error.

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