VR-Forces 4.6 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
rwExplosionEntry.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2016 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrfutil/rwEntityType.h
>
12
#include <
vrfutil/rwReal.h
>
13
#include "
vrfobjparam/vrfobjparamDefines.h
"
14
#include <
vrfutil/rwVector.h
>
15
#include <
vrfutil/rwTemplatedList.h
>
16
17
class
DT_DLL_vrfobjparam
DtRwExplosionEntry
:
public
DtReaderWriter
18
{
19
public
:
21
DtRwExplosionEntry
();
22
24
DtRwExplosionEntry
(
const
DtString
& name,
DtReaderWriterRegistry
*
25
parentRegistry = NULL);
26
27
DtRwExplosionEntry
(
const
DtSymbolString
& name,
DtReaderWriterRegistry
*
28
parentRegistry = NULL);
29
31
DtRwExplosionEntry
(
const
DtString
& name,
const
DtRwExplosionEntry
& orig,
32
DtReaderWriterRegistry
* parentRegistry = NULL);
33
34
DtRwExplosionEntry
(
const
DtSymbolString
& name,
const
DtRwExplosionEntry
& orig,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
38
const
DtRwExplosionEntry
&
operator=
(
const
DtRwExplosionEntry
& orig);
39
40
virtual
~
DtRwExplosionEntry
();
41
42
virtual
DtRwExplosionEntry
* clone(
const
DtString
& name,
43
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
44
45
virtual
DtRwExplosionEntry
* clone(
const
DtSymbolString
& name,
46
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
47
50
virtual
const
DtRwEntityType
& munition()
const
;
51
virtual
void
setMunition(
const
DtRwEntityType
& m);
53
56
virtual
DtDetonationResult detonationResult()
const
;
57
virtual
void
setDetonationResult(DtDetonationResult i);
59
62
virtual
double
delay()
const
;
63
virtual
void
setDelay(
double
s);
65
68
virtual
DtVector
position()
const
;
69
virtual
void
setPosition(
const
DtVector
& pos);
71
73
bool
operator==
(
const
DtRwExplosionEntry
& rhs)
const
;
74
bool
operator!=
(
const
DtRwExplosionEntry
& rhs)
const
75
{
76
return
!(*
this
== rhs);
77
}
78
82
virtual
const
char
*
readerWriterType
()
const
;
83
85
static
const
char
*
theXmlType
();
86
87
virtual
const
char
*
xmlType
()
const
88
{
89
return
theXmlType
();
90
}
91
92
protected
:
96
100
DtRwEntityType
myMunition
;
101
105
DtRwInt
myDetonationResult
;
106
111
DtRwReal
myDelay
;
112
117
DtRwVector
myPosition
;
118
119
121
};
122
123
typedef
DtRwTemplatedListPtr<DtRwExplosionEntry, true>
DtRwExplosionList
;
124
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)