VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfplan
waitUntilStmt.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2016 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfplan/vrfplanDefines.h
"
12
#include "
vrfplan/rwCondExpr.h
"
13
#include "
vrfplan/simConditionalStatement.h
"
14
15
#include <vlutil/vlNetTypes.h>
16
17
const
char
DtWaitUntilStmtTypeName
[] =
"WaitUntil"
;
18
19
class
DtRwCondExpr
;
20
class
DtSimCondExpr
;
21
28
class
DT_DLL_vrfplan
DtWaitUntilStmt
:
public
DtSimConditionalStatement
29
{
30
public
:
31
33
DtWaitUntilStmt
(
DtReaderWriterRegistry
* parentRegistry = NULL);
34
36
DtWaitUntilStmt
(
const
DtWaitUntilStmt
& orig,
37
DtReaderWriterRegistry
* parentRegistry = NULL);
38
40
virtual
~
DtWaitUntilStmt
();
41
43
DtWaitUntilStmt
&
operator=
(
const
DtWaitUntilStmt
& orig);
44
46
virtual
DtSimStatement
*
clone
(
47
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
48
50
virtual
int
type
()
const
;
51
54
virtual
void
execute
(
DtPlan
& planContext);
55
57
virtual
int
subBlockCount
()
const
;
59
virtual
DtSimBlock
*
subBlock
(
int
index);
60
70
virtual
DtString
stringRep
(
int
subBlockIndex = DtSR_STMT)
const
;
71
73
virtual
const
DtSimCondExpr
*
condExpr
()
const
;
75
virtual
void
setCondExpr
(
const
DtSimCondExpr
* arg);
76
79
virtual
int
netRepSize
()
const
;
80
82
virtual
bool
setFromNet
(
const
char
* contentBuffer,
83
unsigned
contentSize);
84
87
virtual
bool
setToNet
();
88
91
virtual
void
step
(
DtPlan
& planContext,
bool
forceStep =
false
);
92
93
bool
triggered
()
const
{
return
myTriggered; };
94
95
public
:
97
static
DtSimStatement
* creator(
DtReaderWriterRegistry
* parentRegistry=NULL);
98
99
protected
:
100
virtual
bool
compare
(
DtSimStatement
* rhs);
101
102
protected
:
103
104
DtRwCondExpr
myCondExpr
;
105
bool
myTriggered
;
106
};
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)