VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
finishTestCommandExecutor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
17 
20 {
21 public:
23 
24  virtual ~DtFinishTestCommandExecutor();
25 
27  virtual bool execute(const DtSimCommand* command, DtSimCommandContextPtr& context, const DtPlan* = 0);
28 
30  virtual bool execute(const DtSimCommand* command, DtSimCommandContextPtr& context, const DtUUID& object,
31  const DtPlan* = 0);
32 
34  static DtSimCommandExecutor* create(DtSimManager* simManager);
35 
36 protected:
38  virtual const DtString statusString(DtFinishTestStatus status) const;
39 
41  virtual const void sendPause() const;
42 
44  virtual void issueSimExit(DtFinishTestStatus statusEnum) const;
45 
47  virtual void sendResultToFile(DtFinishTestStatus statusEnum) const;
48 
51 
53  DtFilename myTestLogFile;
54 
55 private:
62 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtFilename myTestLogFile
Filename to save output test to.
Definition: finishTestCommandExecutor.h:53
virtual bool execute(const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *plan=0)=0
Perform the actual execution of the DtSimCommand.
Abstract base class for all simCommand executors.
Definition: simCommandExecutor.h:30
DtFinishTestStatus
DtFinishTestCommand.
Definition: finishTestCommand.h:19
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
DtSimCommandExecutor & operator=(const DtSimCommandExecutor &orig)
Not implemented.
DtFinishTestCommandExecutor.
Definition: finishTestCommandExecutor.h:19
DtSimCommand is an abstract base class from which commands can derive.
Definition: simCommand.h:32
class DtPlan:
Definition: plan.h:91
bool myShouldExit
Exits the simulator at the end of the command. Used by nightly tests and initialized at the command l...
Definition: finishTestCommandExecutor.h:50
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtBoost::shared_ptr< DtSimCommandContext > DtSimCommandContextPtr
Definition: simCommandStmt.h:28

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)