[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

InputQueueMonitor

inherits from Object
inherits from HasReinitialize
inherits interface from InputQueue

Object <- InputQueueMonitor



Operations

Get list of all operations

BeginRecordJournal
Clear
DequeueInput
EachPendingInput
EndRecordJournal
QueueInput
Reinitialize
ReleaseInput


Attributes

Get list of all attributes

EditMode
HasElements
PlayFast
PlaybackFinished


Fields

Field Type
InputQueueMonitor: monitoredQueue: InputQueue
recordList: ObjectList
recordStartTime: Unsigned
flags: Flags
downTouchMarker: Stamp
upTouchMarker: Stamp


Instance template

instance InputQueueMonitor tag;
 monitoredQueue: nilObject;
     recordList: nilObject;
recordStartTime: 0;
          flags: 0x00000000;
downTouchMarker: nilObject;
  upTouchMarker: nilObject;
end instance;

Class definition

Define Class InputQueueMonitor;
    inherits from Object;
#ifdef RECORD_JOURNALS
    inherits interface from InputQueue;
    inherits from HasReinitialize;                      
        // Required by inherits interface from InputQueue.
#endif

    field monitoredQueue: InputQueue;                   
        // ID of original queue in rootlist
    field recordList: ObjectList;                       
        // ObjectList that contains recorded inputs
    field recordStartTime: Unsigned;                    
        // Time (in Milliseconds) recording started
    field flags: Flags;                                 
        // Various flags
    field downTouchMarker: Stamp;                       
        // Stamp for editing touch downs
    field upTouchMarker: Stamp;                         
        // Stamp for editing touch ups

#ifdef RECORD_JOURNALS
    operation BeginRecordJournal(), safe, common;       
        // Begin recording inputs
    operation EndRecordJournal(), safe, common;         
        // End recording, create JournalStamp

    overrides QueueInput, DequeueInput, EachPendingInput, ReleaseInput, HasElements, Clear, Reinitialize;   
        // flush all inputs
#endif

    attribute PlaybackFinished: Boolean, safe, common;  
        // status of journal playback

    attribute PlayFast: Boolean, safe, common;          
        // get/set real-time/fast mode
    attribute EditMode: Boolean, safe, common;          
        // get/set editing mode
end class;