/
LCGazeMonitor.h
46 lines (29 loc) · 1.04 KB
/
LCGazeMonitor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
// LCGazeMonitor.h
// blinders
//
// Created by David Pitman on 11/30/11.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "LCGazeFoundation.h"
@protocol LCGazeMonitorDelegate <NSObject>
-(void)gazeTrackerOffline;
-(void)gazeTrackerOnline;
-(void)gazeTrackerUnavailable;
-(void)gazeTrackerError:(NSString*)gazeError;
@optional
-(void)gazePointUpdated:(NSPoint)point;
@end
// A LCGazeMonitor acts as a bridge between its delegate and the LCGazeTracker. It behaves both as an observer and controller to the LCGazeTracker.
@protocol LCGazeMonitor <NSObject>
// The most recent GazePoint from the tracker, returns NULL if no point has been received yet..
@property NSPoint gazePoint;
@property(retain) id<LCGazeMonitorDelegate> delegate;
// Called when the LCGazeMonitor should shut down
-(void)stopMonitoring;
// The LCGazeMonitor will inform the GazeTracker to start a calibration process
-(void)startCalibration;
// The current status of the GazeTracker
-(NSString*)status;
@end