Changeset 16829 for trunk/FACT++/scripts/doc
- Timestamp:
- 06/13/13 20:52:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/doc/dimctrl.js
r16804 r16829 101 101 * event (dim or command interface) will be processed. 102 102 * 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 * 103 108 * @param {Function} [func] 104 109 * Function to be called when an interrupt is received. Null, undefined … … 117 122 * for (var key in args) 118 123 * console.out(" args["+key+"="+args[key]); 124 * 125 * var newState = 10; 126 * return newState; 119 127 * } 120 128 * dimctrl.setInterruptHandler(handleIrq); … … 134 142 * a new line. 135 143 * 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 * 136 150 * @example 137 151 * dimctrl.triggerInterrupt(); … … 140 154 * dimctrl.triggerInterrupt("arg1=x arg2 arg3"); 141 155 * 142 * @throws143 * if an argument contains a line break144 156 */ 145 157 dimctrl.triggerInterrupt = function() { /* [native code] */ }
Note:
See TracChangeset
for help on using the changeset viewer.