C# Class ATUAV_RT.WindowingConsolePrinter

Example GazeDataHandler that collects gaze data in dynamically sized windows and prints each window to console.
Inheritance: ConsolePrinter, WindowingHandler
Afficher le fichier Open project: ATUAV/ATUAV

Méthodes publiques

Méthode Description
FixationEnd ( int time, int duration, int x, int y ) : void

Collects fixation events

ProcessWindow ( ) : void

Prints the accumulated fixation and gaze data events without dropping intermittent events.

ProcessWindow ( bool keepData ) : void

Prints the accumulated fixation and gaze data events without dropping intermittent events.

StartWindow ( ) : void

Start collecting data in a new window. Clears any existing data.

StopWindow ( ) : void

Stops collecting data. Does not clear existing data.

WindowingConsolePrinter ( SyncManager syncManager ) : System

Méthodes protégées

Méthode Description
GazeDataReceivedSynchronized ( object sender, GazeDataEventArgs e ) : void

Collects gaze point events

GazeDataReceivedSynchronized ( object sender, GazeDataItem gazePoint ) : void

Collects gaze point events

Private Methods

Méthode Description
PrintData ( ) : void

Private non-threadsafe method for printing data to console.

Method Details

FixationEnd() public méthode

Collects fixation events
public FixationEnd ( int time, int duration, int x, int y ) : void
time int Start time of fixation
duration int Duration of fixation
x int Fixation Y position
y int Fixation X position
Résultat void

GazeDataReceivedSynchronized() protected méthode

Collects gaze point events
protected GazeDataReceivedSynchronized ( object sender, GazeDataEventArgs e ) : void
sender object
e GazeDataEventArgs Contains gaze data item
Résultat void

GazeDataReceivedSynchronized() protected méthode

Collects gaze point events
protected GazeDataReceivedSynchronized ( object sender, GazeDataItem gazePoint ) : void
sender object
gazePoint GazeDataItem
Résultat void

ProcessWindow() public méthode

Prints the accumulated fixation and gaze data events without dropping intermittent events.
public ProcessWindow ( ) : void
Résultat void

ProcessWindow() public méthode

Prints the accumulated fixation and gaze data events without dropping intermittent events.
public ProcessWindow ( bool keepData ) : void
keepData bool If true, collected data is kept for next window. Otherwise data is cleared.
Résultat void

StartWindow() public méthode

Start collecting data in a new window. Clears any existing data.
public StartWindow ( ) : void
Résultat void

StopWindow() public méthode

Stops collecting data. Does not clear existing data.
public StopWindow ( ) : void
Résultat void

WindowingConsolePrinter() public méthode

public WindowingConsolePrinter ( SyncManager syncManager ) : System
syncManager SyncManager
Résultat System