VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
setTarget.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
#pragma once
11
12
13
#include "
vrftasks/setDataReq.h
"
14
#include "
vrfutil/rwString.h
"
15
#include <vlutil/vlNetTypes.h>
16
#include "
vrftasks/vrftasksDefines.h
"
17
20
struct
DtNetSetTargetRequest
21
{
22
DtNetU8
myTargetNameLength
;
23
};
24
30
class
DT_DLL_vrftasks
DtSetTargetRequest
:
public
DtSetDataRequest
31
{
32
33
public
:
34
36
DtSetTargetRequest
();
37
40
DtSetTargetRequest
(
const
DtString
& writeName,
41
DtReaderWriterRegistry
* parentRegistry = 0);
42
44
DtSetTargetRequest
(
const
DtString
& writeName,
const
DtSetTargetRequest
&
45
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
46
48
const
DtSetTargetRequest
&
operator=
(
const
DtSetTargetRequest
& orig);
49
50
virtual
~
DtSetTargetRequest
();
51
53
virtual
const
DtSetMessageType
&
type
()
const
;
54
56
virtual
DtSetDataRequest
*
clone
(
const
DtString
& name,
57
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
58
60
virtual
DtString
stringRep
()
const
;
61
63
64
virtual
const
DtString
& target()
const
;
65
virtual
void
setTarget(
const
DtString
& target);
67
70
virtual
int
netRepSize
()
const
;
71
73
virtual
bool
setFromNet
(
const
char
* contentBuffer,
74
unsigned
contentSize);
75
78
virtual
bool
setToNet
();
79
80
static
DtSetDataRequest
* creator();
81
82
protected
:
83
84
DtRwString
myTarget
;
85
86
};
87
88
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)