#include <icy/diagnosticmanager.h>Inherits:
string, IDiagnostic >
Registry and manager for diagnostic providers.
| Return | Name | Description |
|---|---|---|
NullSignal | DiagnosticsComplete |
NullSignal DiagnosticsComplete| Return | Name | Description |
|---|---|---|
DiagnosticManager | ||
bool | addDiagnostic | Adds a diagnostic, taking ownership. |
bool | freeDiagnostic | Removes and deletes the diagnostic registered under name. |
IDiagnostic * | getDiagnostic const | Returns the diagnostic or nullptr. |
void | resetAll | |
void | checkAll | |
bool | allComplete const | |
void | onDiagnosticStateChange |
DiagnosticManager()bool addDiagnostic(std::unique_ptr< IDiagnostic > test)Adds a diagnostic, taking ownership.
bool freeDiagnostic(const std::string & name)Removes and deletes the diagnostic registered under name.
const
IDiagnostic * getDiagnostic(const std::string & name) constReturns the diagnostic or nullptr.
void resetAll()void checkAll()const
bool allComplete() constvoid onDiagnosticStateChange(void *, DiagnosticState & state, constDiagnosticState &)