VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
waitDurTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include "
vrftasks/simTask.h
"
18
#include "
vrfutil/rwReal.h
"
19
#include <vlutil/vlNetTypes.h>
20
21
class
DtString
;
22
25
26
struct
DtNetWaitDurationTask
27
{
28
DtNetFloat64
mySecondsToWait
;
29
};
30
40
#include "
vrftasks/vrftasksDefines.h
"
41
class
DT_DLL_vrftasks
DtWaitDurationTask
:
public
DtSimTask
42
{
43
44
public
:
45
47
DtWaitDurationTask
();
48
51
DtWaitDurationTask
(
const
DtString
& writeName,
DtReaderWriterRegistry
*
52
parentRegistry = 0);
53
55
DtWaitDurationTask
(
const
DtString
& writeName,
const
DtWaitDurationTask
&
56
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
57
59
const
DtWaitDurationTask
&
operator=
(
const
DtWaitDurationTask
& orig);
60
61
virtual
~
DtWaitDurationTask
();
62
64
virtual
const
DtSimTaskMessageType
&
type
()
const
;
65
67
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
68
parentRegistry = 0)
const
;
69
71
virtual
DtString
stringRep
()
const
;
72
73
virtual
void
setSecondsToWait(DtReal seconds);
74
virtual
DtReal secondsToWait()
const
;
75
78
virtual
int
netRepSize
()
const
;
79
81
virtual
bool
setFromNet
(
const
char
* contentBuffer,
82
unsigned
contentSize);
83
86
virtual
bool
setToNet
();
87
88
static
DtSimTask
* creator();
89
90
protected
:
91
92
DtRwReal
mySecondsToWait
;
93
94
};
95
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
)