VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Running VR-Forces Applications in Batch Mode

VR-Forces can run scenarios in batch mode.

Batch mode allows you to run one or more scenarios multiple times, for a specified amount of time, without providing direct command input from a user interface.

The DtBatchManager (batchMgr.h) class controls the execution of a batch of scenarios on a single back-end. It takes a pointer to a DtCgf class, which it uses to interact with the simulation. You use DtBatchManager only when you want to run a batch from the command line on a single back-end. Remote batches do not use this manager; they use the DtRemoteBatchManager. (For details, please see Running VR-Forces Applications in Batch Mode Using the Remote Control API.)

DtBatchManager has the following basic functions:

A DtBatchManager contains a DtScenarioBatchIterator (scnBatchIter.h), which iterates through a batch file and generates the scenarios that are to be run. Information about what percent of the batch has been executed and related statistics can be found in the iterator.

A DtBatchManager also contains a DtRemoteLoggerController (remLgrControl.h), which it uses to send logger control PDUs and interactions to a MAK Logger running on the exercise if use-logger-control is specified in the batch file.


Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)