VR-Forces 5.0.3 Developer's Guide
 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(DtSimulationServices* 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:229
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. Pure virtual function; must be overloaded by derive...
Abstract base class for all simCommand executors. Every DtSimCommand should have a corresponding DtSi...
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. It manages the read/write capa...
Definition: simCommand.h:32
class DtPlan:
Definition: plan.h:92
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
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
DtBoost::shared_ptr< DtSimCommandContext > DtSimCommandContextPtr
Definition: simCommandStmt.h:28

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)