VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrf::DtVrfCheckpointManager Class Reference

The class that will contain information about the currently loaded scenario. More...

Inheritance diagram for makVrf::DtVrfCheckpointManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVrfCheckpointManager (makVrv::DtDe &)
virtual ~DtVrfCheckpointManager ()
virtual void deleteCheckpoints ()
 Displays a dialog that allows user to delete checkpoints in current scenario directory.
virtual void schedulePeriodicCheckpoints ()
 Displays a dialog that allows user to schedule perioidic checkpointing.
virtual void startTimer ()
virtual void stopTimer ()
virtual void schedulePeriodCheckpointing (bool enabled, bool useSimTime, int interval)
 Enables/disables periodic checkpointing at the specified time interval (in milliseconds)

Static Public Member Functions

static DtVrfCheckpointManagerinstance (makVrv::DtDe &de)
 Returns instance of the messager.

Public Attributes

boost::signal< void()> signal_aboutToCheckpoint
 Signal sent right before a checkpoint of the scenario.

Protected Member Functions

virtual DtDeleteCheckpointsDialogcreateDeleteCheckpointsDialog (QWidget *p, const Qt::WindowFlags &f)
virtual
DtPeriodicCheckpointWidget
createPeriodicCheckpointsWidget (QWidget *p, const Qt::WindowFlags &f)
virtual void tick ()
 If enabled, will be called to check to see if scenario needs to be checkpointed.
virtual void slot_backendUpdated ()
 Called when a backend is updated.
virtual void createCheckpointStatus ()
 Creates checkpoint status widget for status bar.
virtual void updateCheckpointStatus (int iTime)
 Updates checkpoint status with time left until next checkpoint (in seconds)
virtual double currentSimTime () const

Protected Attributes

makVrv::DtDemyDe
int myTime
bool myUseSimulationTime
bool myCheckpointingEnabled
double myCurrentSimTime
QLabelmyCheckpointStatus
bool myStatusBarWasVisible
double myLastCheckpointTime

Detailed Description

The class that will contain information about the currently loaded scenario.


Constructor & Destructor Documentation


Member Function Documentation

Returns instance of the messager.

Displays a dialog that allows user to delete checkpoints in current scenario directory.

Displays a dialog that allows user to schedule perioidic checkpointing.

If the user does, then this manager will register for De tick to process checkpointing

virtual void makVrf::DtVrfCheckpointManager::startTimer ( ) [virtual]
virtual void makVrf::DtVrfCheckpointManager::stopTimer ( ) [virtual]
virtual void makVrf::DtVrfCheckpointManager::schedulePeriodCheckpointing ( bool  enabled,
bool  useSimTime,
int  interval 
) [virtual]

Enables/disables periodic checkpointing at the specified time interval (in milliseconds)

virtual DtDeleteCheckpointsDialog* makVrf::DtVrfCheckpointManager::createDeleteCheckpointsDialog ( QWidget p,
const Qt::WindowFlags &  f 
) [protected, virtual]
virtual DtPeriodicCheckpointWidget* makVrf::DtVrfCheckpointManager::createPeriodicCheckpointsWidget ( QWidget p,
const Qt::WindowFlags &  f 
) [protected, virtual]
virtual void makVrf::DtVrfCheckpointManager::tick ( ) [protected, virtual]

If enabled, will be called to check to see if scenario needs to be checkpointed.

virtual void makVrf::DtVrfCheckpointManager::slot_backendUpdated ( ) [protected, virtual]

Called when a backend is updated.

Call is only made if backends have become unloaded during periodic checkpointing

virtual void makVrf::DtVrfCheckpointManager::createCheckpointStatus ( ) [protected, virtual]

Creates checkpoint status widget for status bar.

virtual void makVrf::DtVrfCheckpointManager::updateCheckpointStatus ( int  iTime) [protected, virtual]

Updates checkpoint status with time left until next checkpoint (in seconds)

virtual double makVrf::DtVrfCheckpointManager::currentSimTime ( ) const [protected, virtual]

Member Data Documentation

Signal sent right before a checkpoint of the scenario.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)