VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiSystemHealth.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
8 #pragma once
9 
12 
14 class QTreeWidget;
15 class DtUiHealthCheck;
16 
20 {
21 public:
24  virtual ~DtSystemHealthCheck();
25 
28  virtual bool passesCheck(const DtComponentSystemDefinition*, QString& error, bool& continueOn) const = 0;
29 
31  virtual void fix(DtComponentSystemDefinition*) = 0;
32 };
33 
38 {
39  Q_OBJECT
40 
41 public:
42 
45 
47  virtual ~DtUiSystemHealth();
48 
49  virtual void setFromParameters(const std::vector<DtComponentSystemDefinition*>& parentRw);
50  virtual bool checkup(QString& toolTip);
51 
52 protected:
53  virtual void cure(DtHealthCheck*);
54 };
This UI element will provide basical functionality for allowing a system to define rules that can det...
Definition: uiSystemHealth.h:37
virtual void setFromParameters(DtReaderWriter *parentRw)
Calls setFromParameters with std::vector of parameter.
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:25
General class that all health checks must subclass from.
Definition: uiHealthCheck.h:17
virtual bool checkup(QString &toolTip)=0
Fill in tool tip with what to display for overall health if fails.
Class that is used to define a health check. Return true if passes, and, if false implement the fix()...
Definition: uiSystemHealth.h:19
Definition: asyncJobServer.h:39
This UI element will provide basical functionality for allowing a system to define rules that can det...
Definition: uiHealthCheck.h:40
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
virtual void cure(DtHealthCheck *)=0
Attempt to fix the failed health check.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)