13 #include <vlutil/vlNetTypes.h>
53 virtual int type()
const;
78 virtual void putSelf(std::string& fp,
int indentLevel = 0,
90 virtual bool setFromNet(
const char* contentBuffer,
91 unsigned contentSize);
101 virtual void step(
DtPlan& planContext,
bool forceStep);
Instances of DtSimCommandStmt represent a single sim-command in a DtPlan.
Definition: simCommandStmt.h:32
virtual ~DtSimCommandContext()
Definition: simCommandStmt.h:25
virtual DtSimStatement * clone(DtReaderWriterRegistry *parentRegistry=NULL) const =0
virtual copy constructor A typical clone function.
DtSimCommandContext()
Definition: simCommandStmt.h:24
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.
DtSimCommand * mySimCommand
Definition: simCommandStmt.h:105
Definition: readerWriterRegistry.h:39
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtSimCommand is an abstract base class from which commands can derive.
Definition: simCommand.h:32
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Extracts statement Id from buffer.
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Top level to read itself from an input stream.
virtual void putSelf(std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
Top level call to write itself to file.
virtual int netRepSize() const
Returns sizeof(DtNetSimStatement).
class DtPlan:
Definition: plan.h:90
DtSimCommandContextPtr myCommandCompletionData
Definition: simCommandStmt.h:106
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
const char DtSimCommandStmtTypeName[]
Definition: simCommandStmt.h:15
DtSimStatement & operator=(const DtSimStatement &orig)
Assignment operator (protected because this is an abstract base class).
An empty class that is used simply for the purposes of allowing command context executors to fill in ...
Definition: simCommandStmt.h:21
static const DtFilename & appPath()
Gets the current working directory.
virtual int type() const =0
Returns the type of statement Type (defined in simStmtTypes.h)
DtBoost::shared_ptr< DtSimCommandContext > DtSimCommandContextPtr
Definition: simCommandStmt.h:28
virtual DtString stringRep(int subBlockIndex=DtSR_STMT) const =0
Get a readable string representation of this statement.