![]() |
VR-Forces 4.7 Class Documentation
|
The class that will contain information about the currently loaded scenario. More...

Public Types | |
| enum | State { StateIdle, StateRunStart, StateLoading, StateRunning, StateRunComplete, StateRunBatchComplete, StateErrorLoading, StateClosing } |
| Enumerations for state of batch run. More... | |
Public Member Functions | |
| DtVrfBatchScenarioManager (makVrv::DtDe &) | |
| virtual | ~DtVrfBatchScenarioManager () |
| virtual void | loadBatchScenario (QWidget *) |
| Creates and shows the batch load scenario dialog. | |
| virtual QFileDialog * | createLoadBatchScenarioDialog (QWidget *) |
| virtual bool | loadBatchScenario (const QString &batch) |
| virtual bool | runBatch () |
| Starts up the batch run. | |
| virtual int | runNumber () const |
| bool | isBatchRunning () const |
| DtScenarioBatchIterator * | batchIterator () const |
| bool | runningBatchScenario () const |
| virtual void | nextScenarioRun () |
| Call this function to move onto the next scenario run in the batch (if there is one) | |
| virtual void | nextScenario () |
| Call this function to move onto the next scenario in the batch even if there are runs left in the current scenario. | |
| virtual bool | close () |
| Stops the currently running batch scenario. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtVrfBatchScenarioManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
Public Attributes | |
| boost::signal< void()> | signal_stateRunStart |
| boost::signal< void()> | signal_nextRunAboutToStart |
| Sent after the last scenario has closed and next one is about to start. | |
| boost::signal< void()> | signal_batchRunComplete |
| Sent when all batch files have been run. | |
| boost::signal< void()> | signal_errorLoadingScenario |
| boost::signal< void()> | signal_scenarioRunComplete |
| Signalled when a scenario run is complete. | |
Protected Member Functions | |
| virtual void | tick () |
| virtual void | idle () |
| Called in idle state. | |
| virtual void | startNextBatchScenario () |
| Starts by running the next batch. | |
| virtual void | loading () |
| Iterated over while waiting for scenario to load. | |
| virtual void | running () |
| Called when batch is running. | |
| virtual double | currentSimulationTime () const |
| Returns the current simulation time from the first back-end in the remote control list. | |
| virtual DtFilename | constructLoggerFilename (const DtScenario *scenario) |
| virtual void | allBackendsClosed () |
| Schedules next run. | |
| virtual void | loadScenarioError (const std::string &error, bool showMessage=true) |
| Called when there is an error loading the scenario. | |
| virtual void | slot_allScenarioObjectsDiscovered () |
| Called after front end has discovered all scenario objects. | |
| virtual void | slot_windowTitleAboutToBeSet (QString &) |
| virtual void | setMainWindowTitle (const QString &) |
Protected Attributes | |
| DtScenarioBatchIterator * | myBatchIterator |
| makVrv::DtDe & | myDe |
| QString | myBatchFile |
| bool | myRunning |
| DtVrfScenarioRemapFunction * | myRemap |
| double | myRunStartTime |
| State | myState |
| QString | myOriginalTitle |
| makVrv::DtSignalConnectionManager | myConnections |
| const DtScenario * | myRunningScenario |
The class that will contain information about the currently loaded scenario.
| makVrf::DtVrfBatchScenarioManager::DtVrfBatchScenarioManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
virtual |
Creates and shows the batch load scenario dialog.
|
virtual |
|
virtual |
|
virtual |
Starts up the batch run.
|
virtual |
|
inline |
|
inline |
|
inline |
|
virtual |
Call this function to move onto the next scenario run in the batch (if there is one)
|
virtual |
Call this function to move onto the next scenario in the batch even if there are runs left in the current scenario.
|
virtual |
Stops the currently running batch scenario.
|
protectedvirtual |
|
protectedvirtual |
Called in idle state.
|
protectedvirtual |
Starts by running the next batch.
|
protectedvirtual |
Iterated over while waiting for scenario to load.
Will call slot_allScenarioObjectsDiscovered callback when loaded
|
protectedvirtual |
Called when batch is running.
Will check time to see if current batch is over and next batch needs to be run
|
protectedvirtual |
Returns the current simulation time from the first back-end in the remote control list.
|
protectedvirtual |
|
protectedvirtual |
Schedules next run.
|
protectedvirtual |
Called when there is an error loading the scenario.
|
protectedvirtual |
Called after front end has discovered all scenario objects.
|
protectedvirtual |
|
protectedvirtual |
| boost::signal<void ()> makVrf::DtVrfBatchScenarioManager::signal_stateRunStart |
| boost::signal<void ()> makVrf::DtVrfBatchScenarioManager::signal_nextRunAboutToStart |
Sent after the last scenario has closed and next one is about to start.
| boost::signal<void ()> makVrf::DtVrfBatchScenarioManager::signal_batchRunComplete |
Sent when all batch files have been run.
| boost::signal<void ()> makVrf::DtVrfBatchScenarioManager::signal_errorLoadingScenario |
| boost::signal<void ()> makVrf::DtVrfBatchScenarioManager::signal_scenarioRunComplete |
Signalled when a scenario run is complete.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |