C# Класс ATUAV_RT.WindowingConsolePrinter

Example GazeDataHandler that collects gaze data in dynamically sized windows and prints each window to console.
Наследование: ConsolePrinter, WindowingHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
GazeDataReceivedSynchronized ( object sender, GazeDataEventArgs e ) : void

Collects gaze point events

GazeDataReceivedSynchronized ( object sender, GazeDataItem gazePoint ) : void

Collects gaze point events

Приватные методы

Метод Описание
PrintData ( ) : void

Private non-threadsafe method for printing data to console.

Описание методов

FixationEnd() публичный Метод

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
Результат void

GazeDataReceivedSynchronized() защищенный Метод

Collects gaze point events
protected GazeDataReceivedSynchronized ( object sender, GazeDataEventArgs e ) : void
sender object
e GazeDataEventArgs Contains gaze data item
Результат void

GazeDataReceivedSynchronized() защищенный Метод

Collects gaze point events
protected GazeDataReceivedSynchronized ( object sender, GazeDataItem gazePoint ) : void
sender object
gazePoint GazeDataItem
Результат void

ProcessWindow() публичный Метод

Prints the accumulated fixation and gaze data events without dropping intermittent events.
public ProcessWindow ( ) : void
Результат void

ProcessWindow() публичный Метод

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.
Результат void

StartWindow() публичный Метод

Start collecting data in a new window. Clears any existing data.
public StartWindow ( ) : void
Результат void

StopWindow() публичный Метод

Stops collecting data. Does not clear existing data.
public StopWindow ( ) : void
Результат void

WindowingConsolePrinter() публичный Метод

public WindowingConsolePrinter ( SyncManager syncManager ) : System
syncManager SyncManager
Результат System