VR-Forces Development_Version 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
scriptedMovementTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include "
vrftasks/simTask.h
"
18
#include "
vrfutil/rwString.h
"
19
#include "
vrfutil/rwReal.h
"
20
#include "
vrfutil/rwInt.h
"
21
#include "
vrfutil/rwBoolean.h
"
22
#include "
vrftasks/vrftasksDefines.h
"
23
#include "
vrfutil/rwUUID.h
"
24
28
class
DT_DLL_vrftasks
DtScriptedMovementTask
:
public
DtSimTask
29
{
30
31
public
:
32
34
DtScriptedMovementTask
();
35
38
DtScriptedMovementTask
(
const
DtString
& writeName,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
42
DtScriptedMovementTask
(
const
DtString
& writeName,
const
DtScriptedMovementTask
& orig,
43
DtReaderWriterRegistry
* parentRegistry = 0);
44
46
const
DtScriptedMovementTask
&
operator=
(
const
DtScriptedMovementTask
& orig);
47
48
virtual
~
DtScriptedMovementTask
();
49
51
virtual
const
DtSimTaskMessageType
&
type
()
const
;
52
54
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
55
parentRegistry = 0)
const
;
56
58
virtual
DtString
stringRep
()
const
;
59
63
virtual
const
DtString
& scriptedMovementFile()
const
;
64
virtual
void
setScriptedMovementFile(
const
DtString
& cpName);
65
66
virtual
void
setPhase(
int
);
67
virtual
int
phase()
const
;
68
69
virtual
void
setMoveOutHeading(
double
);
70
virtual
double
moveOutHeading()
const
;
71
72
virtual
void
setTargetPoint(
const
DtUUID
&);
73
virtual
const
DtUUID
& targetPoint()
const
;
74
75
virtual
void
setClampType(
int
);
76
virtual
int
clampType()
const
;
77
79
virtual
void
setCompletionRule(
int
);
80
virtual
int
completionRule()
const
;
81
82
virtual
void
setFileConfiguration(
const
DtString
&);
83
virtual
const
DtString
& fileConfiguration()
const
;
84
87
virtual
int
netRepSize
()
const
;
88
90
virtual
bool
setFromNet
(
const
char
* contentBuffer,
91
unsigned
contentSize);
92
95
virtual
bool
setToNet
();
96
97
static
DtSimTask
* creator();
98
99
protected
:
100
DtRwReal
myMoveOutHeading
;
101
DtRwString
myScriptedMovementFile
;
102
DtRwUUID
myTargetPoint
;
103
DtRwInt
myClampType
;
104
DtRwInt
myCompletionRule
;
105
DtRwString
myFileConfiguration
;
106
DtRwInt
myPhase
;
107
};
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)