Package org.destecs.vdm

Examples of org.destecs.vdm.SimulationManager


  }

  private synchronized boolean canAdvanceSimulationTime(long minstep)
  {
    long newTime = SystemClock.getWallTime() + minstep;
    SimulationManager manager = SimulationManager.getInstance();
    if (newTime <= nextSimulationStop || ( manager.isOptimizationEnabled() && SharedStateListner.isAutoIncrementTime() && newTime <manager.getFinishTime()))
    {
      return true; // OK, just proceed there is still simulation time left
    } else
    {
      // We have reached the allowed simulation time
      nextSimulationStop = manager.waitForStep(minstep);
      if (newTime <= nextSimulationStop)
      {
        return true;
      } else
      {
View Full Code Here

TOP

Related Classes of org.destecs.vdm.SimulationManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.