Ignore:
Timestamp:
06/13/13 20:52:35 (11 years ago)
Author:
tbretz
Message:
Updated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/doc/dimctrl.js

    r16804 r16829  
    101101 * event (dim or command interface) will be processed.
    102102 *
     103 * If an interrupt was triggered by dimctrl (so not from within
     104 * the script) and a number between 10 and 255 is returned,
     105 * the state machine will change its state accordingly. Other returned
     106 * ojects or returned values outside of this range are ignored.
     107 *
    103108 * @param {Function} [func]
    104109 *    Function to be called when an interrupt is received. Null, undefined
     
    117122 *         for (var key in args)
    118123 *             console.out(" args["+key+"="+args[key]);
     124 *
     125 *         var newState = 10;
     126 *         return newState;
    119127 *     }
    120128 *     dimctrl.setInterruptHandler(handleIrq);
     
    134142 *     a new line.
    135143 *
     144 * @returns
     145 *    the return of the interrupt handler which is called is returned
     146 *
     147 * @throws
     148 *    if an argument contains a line break
     149 *
    136150 * @example
    137151 *     dimctrl.triggerInterrupt();
     
    140154 *     dimctrl.triggerInterrupt("arg1=x arg2 arg3");
    141155 *
    142  * @throws
    143  *    if an argument contains a line break
    144156 */
    145157dimctrl.triggerInterrupt = function() { /* [native code] */ }
Note: See TracChangeset for help on using the changeset viewer.