VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
taskStmt.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: taskStmt.h,v $ $Revision: 1.20 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtTaskStmt_H_
13 #define DtTaskStmt_H_
14 
15 class DtTaskStmt;
16 
17 #include "vrfplan/simStatement.h"
18 #include <vlutil/vlNetTypes.h>
19 #include "vrfplan/vrfplanDefines.h"
20 
21 const char DtTaskStmtTypeName[] = "Task";
22 
23 class DtSimTask;
24 
27 {
28 public:
29 
32 
34  DtTaskStmt(DtReaderWriterRegistry* parentRegistry = NULL);
35 
37  DtTaskStmt(const DtTaskStmt& orig,
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
41  virtual ~DtTaskStmt();
42 
44  DtTaskStmt& operator=(const DtTaskStmt& orig);
45 
47  virtual DtSimStatement* clone(
48  DtReaderWriterRegistry* parentRegistry = NULL) const;
49 
51  virtual int type() const;
52 
55  virtual void execute(DtPlan& planContext);
56 
64  virtual DtString stringRep(int subBlockIndex = DtSR_STMT) const;
65 
67  virtual DtSimTask* task() const;
69  virtual void setTask(DtSimTask* arg);
70 
75  virtual void putSelf(FILE *fp, int indentLevel = 0,
76  bool writeUnspecified = false, const DtFilename& path = DtReaderWriter::appPath());
77 
80  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
81  const DtVariableBindingsList& variableBindings);
82 
84  virtual int netRepSize() const;
85 
87  virtual bool setFromNet(const char* contentBuffer,
88  unsigned contentSize);
89 
92  virtual bool setToNet();
93 
94  static DtSimStatement * creator(DtReaderWriterRegistry* parentRegistry = NULL);
95 
96 protected:
97 
99 };
100 
101 #endif

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)