![]() |
VR-Forces Developer's Guide
|
Class that is used to define a health check. Return true if passes, and, if false implement the fix() method to fix the issue.

Public Member Functions | |
| DtEntityHealthCheck (makVrv::DtDe &de, DtUiHealthCheck *) | |
| DtEntityHealthCheck (const DtEntityHealthCheck &) | |
| virtual | ~DtEntityHealthCheck () |
| virtual bool | passesCheck (const DtObjectType &, QString &error, bool &continueOn) const =0 |
| virtual void | fix (const DtObjectType &)=0 |
Public Member Functions inherited from DtHealthCheck | |
| DtHealthCheck (makVrv::DtDe &de, DtUiHealthCheck *) | |
| DtHealthCheck (const DtHealthCheck &) | |
| virtual | ~DtHealthCheck () |
| virtual DtHealthCheck * | clone () const =0 |
| virtual const char * | name () const =0 |
| virtual void | attemptHealthFix (const QString &) |
Additional Inherited Members | |
Protected Attributes inherited from DtHealthCheck | |
| makVrv::DtDe & | myDe |
| DtUiHealthCheck * | myParent |
| DtEntityHealthCheck::DtEntityHealthCheck | ( | makVrv::DtDe & | de, |
| DtUiHealthCheck * | |||
| ) |
| DtEntityHealthCheck::DtEntityHealthCheck | ( | const DtEntityHealthCheck & | ) |
|
virtual |
|
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.
|
pure virtual |
Implement to fix the issue on the given system.
Implemented in DtAvailablePowers.