VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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"
14 
15 #include <vlutil/vlNetTypes.h>
16 
17 const char DtWaitUntilStmtTypeName[] = "WaitUntil";
18 
19 class DtRwCondExpr;
20 class DtSimCondExpr;
21 
29 {
30 public:
31 
33  DtWaitUntilStmt(DtReaderWriterRegistry* parentRegistry = NULL);
34 
36  DtWaitUntilStmt(const DtWaitUntilStmt& orig,
37  DtReaderWriterRegistry* parentRegistry = NULL);
38 
40  virtual ~DtWaitUntilStmt();
41 
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 
106 };

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)