Class DeltaTimeExecutor

    • Field Detail

      • timestamp

        protected long timestamp
        Current time stamp
      • clocklistener

        protected IChangeListener clocklistener
        The clock listener.
      • timer

        protected ITimer timer
        The tick timer.
      • terminated

        protected boolean terminated
        The flag indicating that the executor is terminated.
      • scheduled

        protected boolean scheduled
        Flag that a step was scheduled.
    • Constructor Detail

      • DeltaTimeExecutor

        public DeltaTimeExecutor()
        Creates a new DeltaTimeExecutor
        Parameters:
        timecoefficient - the time coefficient
        clockservice - the clock service
      • DeltaTimeExecutor

        public DeltaTimeExecutor​(AbstractEnvironmentSpace space,
                                 boolean tick)
        Creates a new DeltaTimeExecutor
        Parameters:
        timecoefficient - the time coefficient
        clockservice - the clock service
    • Method Detail

      • start

        public void start()
        Start the space executor.
        Specified by:
        start in interface ISpaceExecutor
      • terminate

        public void terminate()
        Terminate the space executor.
        Specified by:
        terminate in interface ISpaceExecutor