VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtSystemCanAttack Class Reference

!!!!!!!!!!! DtSystemCanAttack This class will see if this system can target and fire on that target. This check will fail if there is no hit target and no ammunition (an empty system)

Inheritance diagram for DtSystemCanAttack:
Inheritance graph
[legend]

Public Member Functions

 DtSystemCanAttack (makVrv::DtDe &, DtUiSystemHealth *)
 
 DtSystemCanAttack (const DtSystemCanAttack &)
 
virtual ~DtSystemCanAttack ()
 
virtual bool passesCheck (const DtComponentSystemDefinition *, QString &error, bool &continueOn) const
 
virtual void fix (DtComponentSystemDefinition *)
 
virtual DtSystemHealthCheckclone () const
 
virtual const charname () const
 
- Public Member Functions inherited from DtSystemHealthCheck
 DtSystemHealthCheck (makVrv::DtDe &de, DtUiHealthCheck *)
 
 DtSystemHealthCheck (const DtSystemHealthCheck &)
 
virtual ~DtSystemHealthCheck ()
 
- Public Member Functions inherited from DtHealthCheck
 DtHealthCheck (makVrv::DtDe &de, DtUiHealthCheck *)
 
 DtHealthCheck (const DtHealthCheck &)
 
virtual ~DtHealthCheck ()
 
virtual void attemptHealthFix (const QString &)
 

Additional Inherited Members

- Protected Attributes inherited from DtHealthCheck
makVrv::DtDemyDe
 
DtUiHealthCheckmyParent
 

Constructor & Destructor Documentation

DtSystemCanAttack::DtSystemCanAttack ( makVrv::DtDe ,
DtUiSystemHealth  
)
DtSystemCanAttack::DtSystemCanAttack ( const DtSystemCanAttack )
virtual DtSystemCanAttack::~DtSystemCanAttack ( )
virtual

Member Function Documentation

virtual bool DtSystemCanAttack::passesCheck ( const DtComponentSystemDefinition ,
QString &  error,
bool continueOn 
) const
virtual

Implement to see if this system passes the given check.

Implements DtSystemHealthCheck.

virtual void DtSystemCanAttack::fix ( DtComponentSystemDefinition )
virtual

Implement to fix the issue on the given system.

Implements DtSystemHealthCheck.

virtual DtSystemHealthCheck* DtSystemCanAttack::clone ( ) const
virtual

Clone this object.

Implements DtHealthCheck.

virtual const char* DtSystemCanAttack::name ( ) const
inlinevirtual

Internal name that can be used to map to ui file to disallow inclusion of this rule.

Implements DtHealthCheck.


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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)