VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
sendSetMessageTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
#pragma once
11
12
#include "
vrftasks/vrftasksDefines.h
"
13
#include "
vrfutil/rwString.h
"
14
#include "
vrftasks/simTask.h
"
15
16
class
DtSetDataRequest
;
17
21
class
DT_DLL_vrftasks
DtSendSetMessageTask
:
public
DtSimTask
22
{
23
public
:
25
DtSendSetMessageTask
();
26
28
DtSendSetMessageTask
(
const
DtString
& writeName,
29
DtReaderWriterRegistry
* parentRegistry = NULL);
30
32
DtSendSetMessageTask
(
const
DtString
& writeName,
const
DtSendSetMessageTask
& orig,
33
DtReaderWriterRegistry
* parentRegistry = NULL);
34
36
virtual
~
DtSendSetMessageTask
();
37
39
DtSendSetMessageTask
&
operator=
(
const
DtSendSetMessageTask
& orig);
40
42
virtual
const
DtSimTaskMessageType
&
type
()
const
;
43
45
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
46
parentRegistry = 0)
const
;
47
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
*
task
);
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
DtSimTask
* 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
DtRwObjectName
myObjectName
;
87
DtSetDataRequest
*
mySetRequest
;
88
};
89
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
)