Class DevsControlPanel.TimeFloat

    • Constructor Detail

      • TimeFloat

        public TimeFloat​(DsolModel<Float,​? extends DevsSimulatorInterface<Float>> model,
                         DevsSimulatorInterface<Float> simulator)
                  throws RemoteException
        Construct a DEVS control panel for a Float time unit, with a different set of control buttons. The control panel assumes a DevsSimulator, but not animation.
        Parameters:
        model - DsolModel<Float>; the model for the control panel, to allow a reset of the model
        simulator - DevsSimulatorInterface<Float>; the simulator. Specified separately, because the model can have been specified with a superclass of the simulator that the ControlPanel actually needs (e.g., model has been specified with a DevsAnimator, whereas the panel needs a RealTimeControlAnimator)
        Throws:
        RemoteException - when simulator cannot be accessed for listener attachment