VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
targetEntTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
#pragma once
15
16
17
#include "
vrftasks/simTask.h
"
18
#include "
vrfutil/rwString.h
"
19
#include <vlutil/vlNetTypes.h>
20
21
25
struct
DtNetTargetEntityTask
26
{
27
DtNetU8
myTargetEntityLength
;
28
};
29
35
#include "
vrftasks/vrftasksDefines.h
"
36
class
DT_DLL_vrftasks
DtTargetEntityTask
:
public
DtSimTask
37
{
38
39
public
:
40
42
DtTargetEntityTask
();
43
46
DtTargetEntityTask
(
const
DtString
& writeName,
47
DtReaderWriterRegistry
* parentRegistry = 0);
48
50
DtTargetEntityTask
(
const
DtString
& writeName,
const
DtTargetEntityTask
& orig,
51
DtReaderWriterRegistry
* parentRegistry = 0);
52
54
const
DtTargetEntityTask
&
operator=
(
const
DtTargetEntityTask
& orig);
55
56
virtual
~
DtTargetEntityTask
();
57
59
virtual
const
DtSimTaskMessageType
&
type
()
const
;
60
62
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
63
parentRegistry = 0)
const
;
64
66
virtual
DtString
stringRep
()
const
;
67
68
virtual
const
DtString
& targetEntity()
const
;
69
virtual
void
setTargetEntity(
const
DtString
& targetEntity);
70
73
virtual
int
netRepSize
()
const
;
74
76
virtual
bool
setFromNet
(
const
char
* contentBuffer,
77
unsigned
contentSize);
78
81
virtual
bool
setToNet
();
82
83
static
DtSimTask
* creator();
84
85
protected
:
86
87
DtRwString
myTargetEntity
;
88
89
};
90
91
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)