14 #include <vlutil/vlNetTypes.h>
56 virtual int type()
const;
64 virtual void step(
DtPlan& planContext,
bool forceStep =
false);
85 virtual void exitFromIf(
DtPlan& planContext);
93 virtual void setThenBlock(
DtIfBlock* arg);
97 virtual void setElseBlock(
DtIfBlock* arg);
113 virtual bool setFromNet(
const char* contentBuffer,
114 unsigned contentSize);
133 virtual void reset();
virtual void setCondExpr(const DtSimCondExpr *arg)=0
Sets the conditional expression used to evaluate the wait until.
const char DtIfStmtTypeName[]
Definition: ifStmt.h:16
virtual DtSimStatement * clone(DtReaderWriterRegistry *parentRegistry=NULL) const =0
virtual copy constructor A typical clone function.
virtual int subBlockCount() const
Get the number of blocks nested inside this statement.
class DtIfBlock:
Definition: ifBlock.h:28
DtIfBlock * myElseBlock
Definition: ifStmt.h:151
virtual void step(DtPlan &planContext, bool forceStep=false)
Asks the statement to step the context DtPlan to the next statement.
virtual void execute(DtPlan &planContext)=0
Execute the current statement and make any changes to the Plan state as appropriate.
Definition: readerWriterRegistry.h:39
class DtSimBlock:
Definition: simBlock.h:29
virtual void reset()
Called when the plan is reset, will iterate over all statements to reset as well. ...
class DtSimConditionalStatement:
Definition: simConditionalStatement.h:25
virtual DtSimBlock * subBlock(int index)
Get a pointer to any particular block nested inside this statement.
class DtIfStmt:
Definition: ifStmt.h:30
DtRwCondExpr myCondExpr
Definition: ifStmt.h:144
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Extracts statement Id from buffer.
DtIfBlock * myThenBlock
Definition: ifStmt.h:150
bool myResult
myResult temporarily holds the results of an evaluation of myCondExpr between the "execute" call and ...
Definition: ifStmt.h:148
virtual int netRepSize() const
Returns sizeof(DtNetSimStatement).
class DtPlan:
Definition: plan.h:90
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:49
class DtRwCondExpr:
Definition: rwCondExpr.h:24
class DtSimStatement:
Definition: simStatement.h:41
virtual bool setToNet()
Casts myNetRep to DtNetSimStatement* and fills in structure.
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
virtual void upgradeTriggerUUID(const boost::unordered_map< DtUUID, DtUUID > &)
For those statements that need to, map from the old to new trigger UUID.
virtual const DtSimCondExpr * condExpr() const =0
Returns the conditional expression used to evaluate the wait until.
DtSimStatement & operator=(const DtSimStatement &orig)
Assignment operator (protected because this is an abstract base class).
virtual int type() const =0
Returns the type of statement Type (defined in simStmtTypes.h)
virtual bool compare(DtSimStatement *)
Called from isSameStatement.
virtual DtString stringRep(int subBlockIndex=DtSR_STMT) const =0
Get a readable string representation of this statement.