VR-Forces 4.3.1 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
interceptAndDestroyTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrftasks/simTask.h
"
12
#include "
vrfutil/rwString.h
"
13
#include "
vrfutil/rwReal.h
"
14
15
19
#include "
vrftasks/vrftasksDefines.h
"
20
class
DT_DLL_vrftasks
DtInterceptAndDestroyTask
:
public
DtSimTask
21
{
22
public
:
24
DtInterceptAndDestroyTask
();
25
28
DtInterceptAndDestroyTask
(
const
DtString
& writeName,
29
DtReaderWriterRegistry
* parentRegistry = 0);
30
32
DtInterceptAndDestroyTask
(
const
DtString
& writeName,
const
DtInterceptAndDestroyTask
& orig,
33
DtReaderWriterRegistry
* parentRegistry = 0);
34
36
const
DtInterceptAndDestroyTask
&
operator=
(
const
DtInterceptAndDestroyTask
& orig);
37
38
virtual
~
DtInterceptAndDestroyTask
();
39
41
virtual
const
DtSimTaskMessageType
&
type
()
const
;
42
44
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
45
parentRegistry = 0)
const
;
46
48
virtual
DtString
stringRep
()
const
;
49
51
virtual
DtString
targetName()
const
;
52
virtual
void
setTargetName(
const
DtString
& name);
53
55
virtual
double
standOffDistance()
const
;
56
virtual
void
setStandOffDistance(
const
double
dis);
57
60
virtual
int
netRepSize
()
const
;
61
63
virtual
bool
setFromNet
(
const
char
* contentBuffer,
64
unsigned
contentSize);
65
68
virtual
bool
setToNet
();
69
70
static
DtSimTask
* creator();
71
72
protected
:
73
75
virtual
DtString
parameterStringRep()
const
;
76
77
protected
:
78
79
DtRwObjectName
myTargetName
;
80
DtRwReal
myInterceptStandoffDistance
;
81
82
};
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)