VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiDetonationEntityHealth.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <readerWriter/rwInt.h>
15 #include <readerWriter/rwReal.h>
16 
17 #include <matrix/vlVector.h>
18 
19 class DtRangeProbEntry;
22 
26 {
27 public:
28 
31 
33  virtual ~DtUiDetonationEntityHealth();
34 
35  virtual void processUiEvent(const DtUiElementEvent&);
36 
38 
39  virtual QString tab() const;
40  virtual QString affects() const;
41 
42  virtual void addHealthChecks();
43 };
44 
48 {
49 public:
52  virtual ~DtAvailablePowers();
53 
55  virtual bool passesCheck(const DtObjectType&, QString& error, bool& continueOn) const ;
56 
58  virtual void fix(const DtObjectType&);
59 
61  virtual DtHealthCheck* clone() const;
62 
64  virtual const char* name() const
65  {
66  return "DtAvailablePowers";
67  }
68 };
DtRangeProbEntry is an abstract class whose deriving classes will have one of the two forms of DtPrbD...
Definition: rangeProbEntry.h:19
!!!!!!!!!!! DtAvailablePowers Returns true if this Entity has available powers for detonation ...
Definition: uiDetonationEntityHealth.h:47
virtual void addHealthChecks()=0
virtual void processUiEvent(const DtUiElementEvent &)
Process ui event. Default does nothing.
Definition: uiElement.h:234
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:188
virtual QString affects() const =0
What this affects (system or entity)
virtual bool passesCheck(const DtObjectType &, QString &error, bool &continueOn) const =0
Implement to see if this system passes the given check. If continueOn is set to false no further chec...
Definition: objectType.h:27
virtual const char * name() const
Internal name that can be used to map to ui file to disallow inclusion of this rule.
Definition: uiDetonationEntityHealth.h:64
General class that all health checks must subclass from.
Definition: uiHealthCheck.h:17
virtual DtHealthCheck * clone() const =0
Clone this object.
Definition: asyncJobServer.h:39
This UI element will provide basical functionality for allowing an entity to define rules that can de...
Definition: uiEntityHealth.h:36
DtAmmunitionParamsEntry; descriptor that represents members of a DtAmmunitionParams.
Definition: ammunitionParamsEntry.h:20
The DtUiElement class is the base for which all UI elements are defined. If you wish to create a new ...
Definition: uiElement.h:97
This UI element will provide basical functionality for allowing a system to define rules that can det...
Definition: uiHealthCheck.h:40
Definition: ammunitionPrioritiesListEntry.h:26
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:72
Class that is used to define a health check. Return true if passes, and, if false implement the fix()...
Definition: uiEntityHealth.h:18
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
Base class of the ui element class chain. Properties available through designer for all ui elements a...
Definition: uiElement.h:183
This UI element will inspect the detonation part of the Entity and make sure there is at least one po...
Definition: uiDetonationEntityHealth.h:25
virtual void fix(const DtObjectType &)=0
Implement to fix the issue on the given system.
virtual QString tab() const =0
Which tab to show the warning icon on.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)