Class SensorAnimation

    • Constructor Detail

      • SensorAnimation

        public SensorAnimation​(SingleSensor sensor,
                               Length sensorPosition,
                               SimulatorInterface.TimeDoubleUnit simulator,
                               java.awt.Color color)
                        throws javax.naming.NamingException,
                               java.rmi.RemoteException
        Construct a SensorAnimation.
        Parameters:
        sensor - SingleSensor; the Sensor to draw
        sensorPosition - Length; the position of the sensor on the lane to determine the width of the lane at that point
        simulator - SimulatorInterface.TimeDoubleUnit; the simulator to schedule on
        color - Color; the display color of the sensor
        Throws:
        javax.naming.NamingException - in case of registration failure of the animation
        java.rmi.RemoteException - in case of remote registration failure of the animation