Package de.dfki.km.text20.browserplugin.services.sessionrecorder.events

Examples of de.dfki.km.text20.browserplugin.services.sessionrecorder.events.AbstractSessionEvent


        this.evaluator.setFilter(this.filter);

        // Create gaze handler
        this.allGazeHandler.add(new RawGazeHandler());
        this.allGazeHandler.add(new RawApplicationGazeHandler());
        this.allGazeHandler.add(new FixationHandler());
        this.allGazeHandler.add(new ReducedApplicationGazeHandler());
        this.allGazeHandler.add(new PerusalHandler());
        this.allGazeHandler.add(new HeadPositionHandler());
        this.allGazeHandler.add(new WeakSaccadeHandler());
View Full Code Here


        // Create gaze handler
        this.allGazeHandler.add(new RawGazeHandler());
        this.allGazeHandler.add(new RawApplicationGazeHandler());
        this.allGazeHandler.add(new FixationHandler());
        this.allGazeHandler.add(new ReducedApplicationGazeHandler());
        this.allGazeHandler.add(new PerusalHandler());
        this.allGazeHandler.add(new HeadPositionHandler());
        this.allGazeHandler.add(new WeakSaccadeHandler());

        for (final AbstractGazeHandler gazeHandler : this.allGazeHandler) {
            gazeHandler.init(this, this.pseudorenderer, this.browserPlugin, this.evaluator);
View Full Code Here

        this.allGazeHandler.add(new RawApplicationGazeHandler());
        this.allGazeHandler.add(new FixationHandler());
        this.allGazeHandler.add(new ReducedApplicationGazeHandler());
        this.allGazeHandler.add(new PerusalHandler());
        this.allGazeHandler.add(new HeadPositionHandler());
        this.allGazeHandler.add(new WeakSaccadeHandler());

        for (final AbstractGazeHandler gazeHandler : this.allGazeHandler) {
            gazeHandler.init(this, this.pseudorenderer, this.browserPlugin, this.evaluator);
        }
View Full Code Here

        this.allGazeHandler.add(new RawGazeHandler());
        this.allGazeHandler.add(new RawApplicationGazeHandler());
        this.allGazeHandler.add(new FixationHandler());
        this.allGazeHandler.add(new ReducedApplicationGazeHandler());
        this.allGazeHandler.add(new PerusalHandler());
        this.allGazeHandler.add(new HeadPositionHandler());
        this.allGazeHandler.add(new WeakSaccadeHandler());

        for (final AbstractGazeHandler gazeHandler : this.allGazeHandler) {
            gazeHandler.init(this, this.pseudorenderer, this.browserPlugin, this.evaluator);
        }
View Full Code Here

        this.evaluator = evaluationManager.createEvaluator(trackingDevice);
        this.evaluator.setFilter(this.filter);

        // Create gaze handler
        this.allGazeHandler.add(new RawGazeHandler());
        this.allGazeHandler.add(new RawApplicationGazeHandler());
        this.allGazeHandler.add(new FixationHandler());
        this.allGazeHandler.add(new ReducedApplicationGazeHandler());
        this.allGazeHandler.add(new PerusalHandler());
        this.allGazeHandler.add(new HeadPositionHandler());
        this.allGazeHandler.add(new WeakSaccadeHandler());
View Full Code Here

        this.evaluator = evaluationManager.createEvaluator(trackingDevice);
        this.evaluator.setFilter(this.filter);

        // Create gaze handler
        this.allGazeHandler.add(new RawGazeHandler());
        this.allGazeHandler.add(new RawApplicationGazeHandler());
        this.allGazeHandler.add(new FixationHandler());
        this.allGazeHandler.add(new ReducedApplicationGazeHandler());
        this.allGazeHandler.add(new PerusalHandler());
        this.allGazeHandler.add(new HeadPositionHandler());
View Full Code Here

        // Create gaze handler
        this.allGazeHandler.add(new RawGazeHandler());
        this.allGazeHandler.add(new RawApplicationGazeHandler());
        this.allGazeHandler.add(new FixationHandler());
        this.allGazeHandler.add(new ReducedApplicationGazeHandler());
        this.allGazeHandler.add(new PerusalHandler());
        this.allGazeHandler.add(new HeadPositionHandler());
        this.allGazeHandler.add(new WeakSaccadeHandler());

        for (final AbstractGazeHandler gazeHandler : this.allGazeHandler) {
View Full Code Here

        // Start a background thread to record the current mouse position.
        final Thread t = new Thread(new Runnable() {
            @Override
            public void run() {
                while (true) {
                    final SessionRecorder sr = BrowserPluginImpl.this.sessionRecorder;
                    final PointerInfo pointerInfo = MouseInfo.getPointerInfo();
                    final Point point = pointerInfo.getLocation();

                    if (sr != null) sr.updateMousePosition(point.x, point.y);

                    try {
                        Thread.sleep(25);
                    } catch (final InterruptedException e) {
                        e.printStackTrace();
View Full Code Here

                        e.printStackTrace();
                    } catch (final BrokenBarrierException e) {
                        e.printStackTrace();
                    }

                    AbstractSessionEvent previousEvent = null;

                    // As long as we have more events
                    while (this.hasMore) {
                        AbstractSessionEvent event = null;

                        try {
                            // Load the next event
                            event = (AbstractSessionEvent) loadFromStream(SessionReplayImpl.this.in);

                            // In case we have no previous event, save the first event time
                            if (previousEvent == null) {
                                firstEventTime.set(event.originalEventTime);
                                previousEvent = event;
                            }

                            // Store current event time
                            currentEvenTime.set(event.originalEventTime);

                            // Dont process if filtered
                            if (SessionReplayImpl.this.toFilter.contains(event.getClass())) {
                                continue;
                            }

                            // Check if we only get meta events ...
                            if (gettingMetaInfo.get()) {
View Full Code Here

        final Thread t = new Thread(new Runnable() {

            @Override
            public void run() {

                AbstractSessionEvent previousEvent = null;

                while (allEvents.size() > 0) {
                    AbstractSessionEvent event = null;

                    event = allEvents.get(0);
                    allEvents.remove(0);

                    if (previousEvent == null) {
                        SessionReplayImpl.this.firstEventtime = event.originalEventTime;
                        previousEvent = event;
                    }
                    SessionReplayImpl.this.currentEventime = event.originalEventTime;

                    // Dont process if filtered
                    if (!SessionReplayImpl.this.toFilter.contains(event.getClass())) {
                        if (!isGettingMetaInfo()) {
                            listener.nextEvent(event);

                            // Can be switched off, to make replay as fast as possible.
                            if (SessionReplayImpl.this.realtimeReplay && !isGettingMetaInfo()) {
View Full Code Here

TOP

Related Classes of de.dfki.km.text20.browserplugin.services.sessionrecorder.events.AbstractSessionEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.