Ignore:
Timestamp:
11/25/12 13:35:49 (12 years ago)
Author:
tbretz
Message:
Updated
File:
1 edited

Legend:

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

    r14678 r14696  
    1313 */
    1414var dim = { };
    15 
    16 /**
    17  * Sleep for a while. This can be used to just wait or give time
    18  * back to the operating system to produce less CPU load if the
    19  * main purpose of a loop is, e.g., to wait for something to happen.
    20  *
    21  * @param {Integer} [milliseconds=0]
    22  *     Number of millliseconds to sleep. Note that even 0 will always
    23  *     sleep at least one millisecond.
    24  *
    25  */
    26 dim.sleep = function() { /* [native code] */ }
    2715
    2816/**
     
    6755 * @example
    6856 *     dim.alarm("Alarm for 30 seconds!");
    69  *     dim.sleep(30000);
     57 *     v8.sleep(30000);
    7058 *     dim.alarm();
    7159 */
    7260dim.alarm = function() { /* [native code] */ }
    73 
    74 /**
    75  *
    76  * Displays a message on the local console (only).
    77  *
    78  * @param argument
    79  *     Any kind of argument can be given. If it is not a String, it
    80  *     is converted using the toString() member function.
    81  *
    82  * @param [. . .]
    83  *     Any number of additional arguments. Each argument will appear in
    84  *     a new line.
    85  *
    86  * @example
    87  *     dim.out("Five="+5, "--- new line ---");
    88  *
    89  */
    90 dim.out = function() { /* [native code] */ }
    9161
    9262/**
     
    187157 *
    188158 * @example
    189  *     dim.onchange['*'] = function(state) { dim.out("State change from "+state.name+" received"); }
    190  *     dim.onchange['DIM_CONTROL'] = function(state) { dim.out(JSON.stringify(state); }
     159 *     dim.onchange['*'] = function(state) { console.out("State change from "+state.name+" received"); }
     160 *     dim.onchange['DIM_CONTROL'] = function(state) { console.out(JSON.stringify(state); }
    191161 *     ...
    192162 *     delete dim.onchange['DIM_CONTROL']; // to remove the callback
     
    194164 */
    195165dim.onchange = [];
     166
     167/**
     168 * DIM version number
     169 *
     170 * @constant
     171 * @type Integer
     172 */
     173dim.version = 0;
Note: See TracChangeset for help on using the changeset viewer.