VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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
79
protected
:
83
87
DtRwEntityType
myMunition
;
88
92
DtRwInt
myDetonationResult
;
93
98
DtRwReal
myDelay
;
99
104
DtRwVector
myPosition
;
105
106
108
};
109
110
typedef
DtRwTemplatedListPtr<DtRwExplosionEntry, true>
DtRwExplosionList
;
111
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)