![]() |
Contur 2
Educational OS kernel simulator
|
Diagnostics adapter that captures snapshots from IKernel facade. More...
#include <kernel_diagnostics.h>
Public Member Functions | |
| KernelDiagnostics (const IKernel &kernel) | |
| Constructs diagnostics adapter bound to a kernel facade. | |
| ~KernelDiagnostics () override | |
| Destroys diagnostics adapter. | |
| KernelDiagnostics (const KernelDiagnostics &)=delete | |
| Copy construction is disabled. | |
| KernelDiagnostics & | operator= (const KernelDiagnostics &)=delete |
| Copy assignment is disabled. | |
| KernelDiagnostics (KernelDiagnostics &&) noexcept | |
| Move-constructs diagnostics adapter state. | |
| KernelDiagnostics & | operator= (KernelDiagnostics &&) noexcept |
| Move-assigns diagnostics adapter state. | |
| Result< KernelDiagnosticsSnapshot > | captureSnapshot () const override |
| Captures a diagnostics snapshot. | |
| Public Member Functions inherited from contur::IKernelDiagnostics | |
| virtual | ~IKernelDiagnostics ()=default |
| Virtual destructor for interface-safe polymorphic cleanup. | |
Private Attributes | |
| std::unique_ptr< Impl > | impl_ |
Diagnostics adapter that captures snapshots from IKernel facade.
Definition at line 15 of file kernel_diagnostics.h.
|
explicit |
Constructs diagnostics adapter bound to a kernel facade.
| kernel | Kernel facade used as diagnostics source. |
Referenced by KernelDiagnostics(), KernelDiagnostics(), operator=(), and operator=().
|
override |
Destroys diagnostics adapter.
|
delete |
Copy construction is disabled.
References KernelDiagnostics().
|
noexcept |
Move-constructs diagnostics adapter state.
References KernelDiagnostics().
|
nodiscardoverridevirtual |
Captures a diagnostics snapshot.
Implements contur::IKernelDiagnostics.
References captureSnapshot().
Referenced by captureSnapshot().
|
delete |
Copy assignment is disabled.
References KernelDiagnostics().
|
noexcept |
Move-assigns diagnostics adapter state.
References KernelDiagnostics().
|
private |
Definition at line 42 of file kernel_diagnostics.h.