VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfplan
setDataCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#ifndef setDataCommand_h
12
#define setDataCommand_h
13
14
#include "
vrfplan/simCommand.h
"
15
#include "
vrfplan/vrfplanDefines.h
"
16
#include "
vrfutil/rwString.h
"
17
18
class
DtSetDataRequest
;
19
23
class
DT_DLL_vrfplan
DtSetDataCommand
:
public
DtSimCommand
24
{
25
public
:
27
DtSetDataCommand
();
28
30
DtSetDataCommand
(
const
DtString
& writeName,
31
DtReaderWriterRegistry
* parentRegistry = NULL);
32
34
DtSetDataCommand
(
const
DtString
& writeName,
const
DtSetDataCommand
& orig,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
38
virtual
~
DtSetDataCommand
();
39
41
DtSetDataCommand
&
operator=
(
const
DtSetDataCommand
& orig);
42
44
virtual
const
DtSimCommandMessageType
&
type
()
const
;
45
47
virtual
DtSimCommand
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
48
parentRegistry = 0)
const
;
49
51
52
virtual
DtString
objectName()
const
;
53
virtual
void
setObjectName(
const
DtString
& name);
55
57
virtual
const
DtSetDataRequest
* setRequest()
const
;
59
virtual
void
setSetRequest(
const
DtSetDataRequest
* setReq);
60
62
virtual
DtString
stringRep
()
const
;
63
65
virtual
int
netRepSize
()
const
;
66
68
virtual
bool
setFromNet
(
const
char
* contentBuffer,
69
unsigned
contentSize);
70
72
virtual
bool
setToNet
();
73
75
static
DtSimCommand
* creator();
76
77
protected
:
79
80
virtual
void
putData
(FILE *fp,
int
indentLevel = 0);
81
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtFilename& searchPath,
82
const
DtVariableBindingsList
& variableBindings);
84
85
protected
:
86
DtRwString
myObjectName
;
87
DtSetDataRequest
*
mySetRequest
;
88
};
89
90
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)