IBridgeTracker.cs 656 Bytes
Newer Older
1 2 3 4 5 6 7 8
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TrackerBridge
{
9 10 11
    public delegate void ConnectionEventHandler(IBridgeTracker sender);
    public delegate void GazeDataHandler(GazeData data, Object sender);

12 13
    public interface IBridgeTracker
    {
14 15
        event ConnectionEventHandler ConnectionEvent;
        event ConnectionEventHandler ConnectionTimeout;
16
        event GazeDataHandler GazeDataAvailable;
17 18

        Single OutputFrequency { get; set; }
19
        String SerialNumber { get; }
20
        Single TrackingFrequency { get; set; } 
21

22
        void Connect();
23 24
    }
}