VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
sendTextTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
#include "
vrftasks/simTask.h
"
13
#include "
vrfutil/rwString.h
"
14
#include "
vrftasks/vrftasksDefines.h
"
15
17
class
DT_DLL_vrftasks
DtSendTextTask
:
public
DtSimTask
18
{
19
20
public
:
22
DtSendTextTask
();
23
26
DtSendTextTask
(
const
DtString
& writeName,
27
DtReaderWriterRegistry
* parentRegistry = 0);
28
30
DtSendTextTask
(
const
DtString
& writeName,
const
31
DtSendTextTask
& orig,
DtReaderWriterRegistry
*
32
parentRegistry = 0);
33
35
const
DtSendTextTask
&
operator=
(
const
36
DtSendTextTask
& orig);
37
38
virtual
~
DtSendTextTask
();
39
41
virtual
const
DtSimTaskMessageType
&
type
()
const
;
42
44
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
45
parentRegistry = 0)
const
;
46
48
virtual
DtString
stringRep
()
const
;
49
51
52
virtual
void
setDestinationName(
const
DtString
& objectName);
53
virtual
DtString
destinationName()
const
;
55
57
58
virtual
void
setText(
const
DtString
&);
59
virtual
DtString
text()
const
;
61
63
virtual
int
netRepSize
()
const
;
64
66
virtual
bool
setFromNet
(
const
char
* contentBuffer,
67
unsigned
contentSize);
68
71
virtual
bool
setToNet
();
72
73
static
DtSimTask
* creator();
74
75
protected
:
76
DtRwObjectName
myDestinationName
;
77
DtRwString
myText
;
78
};
79
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
)