VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simCommandStmt.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfplan/vrfplanDefines.h"
12 #include "vrfplan/simStatement.h"
13 #include <vlutil/vlNetTypes.h>
14 
15 const char DtSimCommandStmtTypeName[] = "SimCommand";
16 
17 class DtSimCommand;
18 
22 {
23 public:
25  virtual ~DtSimCommandContext() {};
26 };
27 
28 typedef DtBoost::shared_ptr<DtSimCommandContext> DtSimCommandContextPtr;
29 
33 {
34 public:
36  DtSimCommandStmt(DtReaderWriterRegistry* parentRegistry = NULL);
37 
40  DtReaderWriterRegistry* parentRegistry = NULL);
41 
43  virtual ~DtSimCommandStmt();
44 
47 
49  virtual DtSimStatement* clone(
50  DtReaderWriterRegistry* parentRegistry = NULL) const;
51 
53  virtual int type() const;
54 
57  virtual void execute(DtPlan& planContext);
58 
66  virtual DtString stringRep(int subBlockIndex = DtSR_STMT) const;
67 
69  virtual DtSimCommand* simCommand() const;
70 
72  virtual void setSimCommand(DtSimCommand* arg);
73 
78  virtual void putSelf(std::string& fp, int indentLevel = 0,
79  bool writeUnspecified = false, const DtFilename& path = DtReaderWriter::appPath());
80 
83  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
84  const DtVariableBindingsList& variableBindings);
85 
87  virtual int netRepSize() const;
88 
90  virtual bool setFromNet(const char* contentBuffer,
91  unsigned contentSize);
92 
95  virtual bool setToNet();
96 
97  static DtSimStatement * creator(DtReaderWriterRegistry* parentRegistry = NULL);
98 
101  virtual void step(DtPlan& planContext, bool forceStep);
102 
103 protected:
104 
107 };

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)