VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
waitingPSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2002 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: waitingPSR.h,v $ $Revision: 1.4 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtWaitingPSR_H_
13
#define DtWaitingPSR_H_
14
15
#include "
vrfobjcore/processSR.h
"
16
#include <vlutil/vlUtil.h>
17
#include "
vrfutil/rwReal.h
"
18
#include "
vrfutil/rwInt.h
"
19
24
25
enum
WaitState
26
{
27
NotWaiting
,
28
Waiting
,
29
WaitingDuration
,
30
WaitingElapsed
31
};
32
33
#include "
vrfobjcore/vrfobjcoreDefines.h
"
34
class
DT_DLL_vrfobjcore
DtWaitingPSR
:
public
DtVrfProcessStateRepository
35
{
36
public
:
37
39
DtWaitingPSR
(
DtVrfObject
* vrfObject,
40
const
DtString
& rwName = DtString::nullString(),
41
DtReaderWriterRegistry
* parentRegistry = 0);
42
44
DtWaitingPSR
(
const
DtWaitingPSR
& orig,
45
const
DtString
& rwName = DtString::nullString(),
46
DtReaderWriterRegistry
* parentRegistry = 0);
47
49
virtual
~
DtWaitingPSR
();
50
52
DtWaitingPSR
&
operator=
(
const
DtWaitingPSR
& orig);
53
55
virtual
DtVrfProcessStateRepository
*
clone
(
56
const
DtString
& rwName = DtString::nullString(),
57
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
58
61
virtual
DtString
type
()
const
;
62
64
virtual
void
setWaitTime(DtTime time);
65
virtual
DtTime waitTime()
const
;
66
68
virtual
void
setWaitState(
enum
WaitState
waitState);
69
virtual
enum
WaitState
waitState()
const
;
70
71
public
:
72
74
static
DtVrfProcessStateRepository
* creator (
const
DtString
& rwName,
75
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
76
77
protected
:
78
83
DtRwReal
myWaitTime
;
88
DtRwInt
myWaitState
;
89
};
90
91
#endif
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
)