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
vrfobjparam
targetingControlTable.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfobjparam/targetSelectionCriteria.h
"
12
#include "
vrfobjparam/ammunitionList.h
"
13
#include "
vrfobjparam/ammunitionPrioritiesList.h
"
14
#include "
vrfutil/rwEntityTypeList.h
"
15
#include "
vrfutil/simResourceManager.h
"
16
17
class
DtAmmoSelectTable
;
18
class
DtAmmunitionParamsEntry
;
19
20
class
DT_DLL_vrfobjparam
DtTargetingControlTable
:
public
DtTargetSelectionCriteria
21
{
22
public
:
24
DtTargetingControlTable
(
const
DtString
& name,
25
DtReaderWriterRegistry
* parentRegistry = NULL);
26
DtTargetingControlTable
(
const
DtSymbolString
& name,
27
DtReaderWriterRegistry
* parentRegistry = NULL);
28
30
virtual
~
DtTargetingControlTable
();
31
33
DtTargetingControlTable
(
const
DtString
& name,
34
const
DtTargetingControlTable
& orig,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
DtTargetingControlTable
(
const
DtSymbolString
& name,
37
const
DtTargetingControlTable
& orig,
38
DtReaderWriterRegistry
* parentRegistry = NULL);
39
DtTargetingControlTable
(
const
DtTargetingControlTable
& orig,
40
DtReaderWriterRegistry
* parentRegistry = NULL);
41
43
DtTargetingControlTable
&
operator=
(
const
DtTargetingControlTable
& orig);
44
45
const
DtAmmunitionList
& ammunition()
const
46
{
47
return
myAmmunitionList;
48
}
49
50
DtAmmunitionList
& ammunition()
51
{
52
return
myAmmunitionList;
53
}
54
55
const
DtAmmunitionPrioritiesList
& ammunitionPriorities()
const
56
{
57
return
myAmmunitionPrioritiesList;
58
}
59
60
DtAmmunitionPrioritiesList
& ammunitionPriorities()
61
{
62
return
myAmmunitionPrioritiesList;
63
}
64
65
bool
operator==
(
const
DtTargetingControlTable
&)
const
;
66
bool
operator!=
(
const
DtTargetingControlTable
& rhs)
const
67
{
68
return
!(*
this
== rhs);
69
}
70
71
virtual
const
char
*
readerWriterType
()
const
;
72
static
const
char
*
theXmlType
();
73
74
virtual
const
char
*
xmlType
()
const
75
{
76
return
theXmlType
();
77
}
78
80
virtual
bool
isValid()
const
;
81
83
virtual
bool
hasTargetPriorities()
const
;
84
86
virtual
bool
ammunitionCanBeUsedBy(
const
DtAmmunitionParamsEntry
*)
const
;
87
89
virtual
void
postGetSelf
();
90
92
virtual
void
setTo(
DtAmmoSelectTable
&)
const
;
93
95
virtual
DtSimResourceManager
resourceManager()
const
;
96
98
virtual
void
contributeResourcesTo(
DtSimResourceManager
&)
const
;
99
100
protected
:
101
//{@
104
DtAmmunitionList
myAmmunitionList
;
105
109
DtAmmunitionPrioritiesList
myAmmunitionPrioritiesList
;
111
};
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
)