VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
17.10 - 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 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.

[<< The Boost Serialization Library] [Home] [Top of Page]


Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)