Class InputDevice

    • Constructor Detail

      • InputDevice

        public InputDevice​(InputDevice actor)
        Construct an InputDevice adapter.
        Parameters:
        actor - The associated actor.
    • Method Detail

      • generateSensorSensingFuncCode

        public java.lang.String generateSensorSensingFuncCode()
                                                       throws IllegalActionException
        Return the code for the sensing function.
        Returns:
        the code for the sensing function, which in this case is the empty string
        Throws:
        IllegalActionException - Not thrown in this base class.
      • generateHardwareInitializationCode

        public java.lang.String generateHardwareInitializationCode()
                                                            throws IllegalActionException
        Return the code for the hardware initialization function.
        Returns:
        the code for the hardware initialization function, which in this case is the empty string
        Throws:
        IllegalActionException - Not thrown in this base class.