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
vrftasks
setDetonate.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include "
vrfutil/rwInt.h
"
18
#include "
vrfutil/rwReal.h
"
19
#include "
vrfutil/rwString.h
"
20
#include "
vrftasks/setDataRequest.h
"
21
26
27
#include "
vrftasks/vrftasksDefines.h
"
28
class
DT_DLL_vrftasks
DtSetDetonate
:
public
DtSetDataRequest
29
{
30
31
public
:
32
34
DtSetDetonate
();
35
38
DtSetDetonate
(
const
DtString
& writeName,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
42
DtSetDetonate
(
const
DtString
& writeName,
const
43
DtSetDetonate
& orig,
44
DtReaderWriterRegistry
* parentRegistry = 0);
45
47
const
DtSetDetonate
&
operator=
(
const
DtSetDetonate
& orig);
48
49
virtual
~
DtSetDetonate
();
50
52
virtual
const
DtSetMessageType
&
type
()
const
;
53
55
virtual
DtSetDataRequest
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
56
parentRegistry = 0)
const
;
57
59
virtual
DtString
stringRep
()
const
;
60
62
virtual
void
setDetonatorFuse(
const
int
fuse);
63
virtual
const
int
detonatorFuse()
const
;
64
66
virtual
void
setDetonationTime(
const
DtReal time);
67
virtual
const
DtReal detonationTime()
const
;
68
71
virtual
void
setDetonationProximity(DtReal p);
72
virtual
DtReal detonationProximity()
const
;
73
76
virtual
int
netRepSize
()
const
;
77
79
virtual
bool
setFromNet
(
const
char
* contentBuffer,
80
unsigned
contentSize);
81
84
virtual
bool
setToNet
();
85
86
static
DtSetDataRequest
* creator();
87
88
protected
:
89
90
DtRwInt
myDetonatorFuseType
;
91
DtRwReal
myDetonationTime
;
92
DtRwReal
myDetonationProximity
;
93
94
};
95
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
)