VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
batchManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2002 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: batchMgr.h,v $ $Revision: 1.9 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef batchManager_H_
9 #define batchManager_H_
10 
13 
14 #include <vlutil/vlMachineTypes.h>
15 #include <vlutil/vlFilename.h>
16 #include <vlutil/vlTime.h>
17 
18 class DtCgf;
21 class DtScenarioBatch;
22 class DtScenario;
23 
31 #include "vrfcgf/vrfcgfDefines.h"
33 {
34  public:
36  enum State
37  {
42  StateRunComplete
43  };
44 
45 public:
46  DtBatchManager(DtCgf *cgf);
47  virtual ~DtBatchManager();
48 
51  virtual bool init();
52 
54  virtual void tick();
55 
57  virtual bool loadBatch(const DtFilename &batchFileName);
59  virtual bool loadBatch(const DtScenarioBatch &batch);
62  virtual bool runBatch();
64  virtual bool stopBatch();
66  virtual bool running();
68  virtual bool done();
70  DtBatchManager::State state() const;
71 
73  virtual const DtScenarioBatchIterator* batchIterator();
74 
75 protected:
78  DtBatchManager(const DtBatchManager &orig);
79  DtBatchManager& operator=(const DtBatchManager &orig);
80 
83  virtual DtFilename constructLoggerFilename(const DtScenario* scenario);
84 
85 protected:
89 
91  bool myRunning;
92  bool myDone;
94 };
95 
96 #endif

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)