![]() |
VR-Forces 4.1.1 Class Documentation
|
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 14.10 - 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.