VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtEntityHealthCheck Class Referenceabstract

Class that is used to define a health check. More...

Inheritance diagram for DtEntityHealthCheck:
Inheritance graph
[legend]

Public Member Functions

 DtEntityHealthCheck (makVrv::DtDe &de, DtUiHealthCheck *)
 
 DtEntityHealthCheck (const DtEntityHealthCheck &)
 
virtual ~DtEntityHealthCheck ()
 
virtual bool passesCheck (const DtObjectType &, QString &error, bool &continueOn) const =0
 Implement to see if this system passes the given check. More...
 
virtual void fix (const DtObjectType &)=0
 Implement to fix the issue on the given system. More...
 
- Public Member Functions inherited from DtHealthCheck
 DtHealthCheck (makVrv::DtDe &de, DtUiHealthCheck *)
 
 DtHealthCheck (const DtHealthCheck &)
 
virtual ~DtHealthCheck ()
 
virtual DtHealthCheckclone () const =0
 Clone this object. More...
 
virtual const charname () const =0
 Internal name that can be used to map to ui file to disallow inclusion of this rule. More...
 
virtual void attemptHealthFix (const QString &)
 

Additional Inherited Members

- Protected Attributes inherited from DtHealthCheck
makVrv::DtDemyDe
 
DtUiHealthCheckmyParent
 

Detailed Description

Class that is used to define a health check.

Return true if passes, and, if false implement the fix() method to fix the issue

Constructor & Destructor Documentation

DtEntityHealthCheck::DtEntityHealthCheck ( makVrv::DtDe de,
DtUiHealthCheck  
)
DtEntityHealthCheck::DtEntityHealthCheck ( const DtEntityHealthCheck )
virtual DtEntityHealthCheck::~DtEntityHealthCheck ( )
virtual

Member Function Documentation

virtual bool DtEntityHealthCheck::passesCheck ( const DtObjectType ,
QString &  error,
bool continueOn 
) const
pure virtual

Implement to see if this system passes the given check.

If continueOn is set to false no further checks will be made

Implemented in DtAvailablePowers.

virtual void DtEntityHealthCheck::fix ( const DtObjectType )
pure virtual

Implement to fix the issue on the given system.

Implemented in DtAvailablePowers.


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)