VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
simulationObjectEditorImpl
uiDamageSystemHealth.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
13
#include "
simulationObjectEditorImpl/uiSystemHealth.h
"
14
#include <
readerWriter/rwInt.h
>
15
#include <
readerWriter/rwReal.h
>
16
17
#include <matrix/vlVector.h>
18
19
class
DtRangeProbEntry
;
20
class
DtAmmunitionParamsEntry
;
21
class
DtAmmunitionPrioritiesListEntry
;
22
25
class
DT_DLL_simulationObjectEditorimpl
DtUiDamageSystemHealth
:
public
DtUiSystemHealth
26
{
27
public
:
28
30
DtUiDamageSystemHealth
(
makVrv::DtDe
&);
31
33
virtual
~
DtUiDamageSystemHealth
();
34
35
virtual
void
processUiEvent
(
const
DtUiElementEvent
&);
36
37
static
DtUiElement
*
CreatorFunction
(
makVrv::DtDe
&);
38
39
virtual
QString
tab
()
const
;
40
virtual
QString
affects
()
const
;
41
42
virtual
void
addHealthChecks
();
43
};
44
47
class
DT_DLL_simulationObjectEditorimpl
DtCanBeDamaged
:
public
DtSystemHealthCheck
48
{
49
public
:
50
DtCanBeDamaged
(
makVrv::DtDe
&,
DtUiSystemHealth
*);
51
DtCanBeDamaged
(
const
DtCanBeDamaged
&);
52
virtual
~
DtCanBeDamaged
();
53
55
virtual
bool
passesCheck
(
const
DtComponentSystemDefinition
*, QString&
error
,
bool
& continueOn)
const
;
56
58
virtual
void
fix
(
DtComponentSystemDefinition
*);
59
61
virtual
DtSystemHealthCheck
*
clone
()
const
;
62
64
virtual
const
char
*
name
()
const
65
{
66
return
"DtCanBeDamaged"
;
67
}
68
};
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)