Vuo  2.0.0
VuoSyphonListener.h
Go to the documentation of this file.
1 
10 #include "node.h"
11 
12 #ifndef NS_RETURNS_INNER_POINTER
13 #define NS_RETURNS_INNER_POINTER
14 #endif
15 #import <AppKit/AppKit.h>
16 #import <Syphon.h>
17 
19 #include "VuoImage.h"
20 
24 @interface VuoSyphonListener : NSObject
25 {
26  void (*callback)(VuoImage);
29  dispatch_queue_t refreshQueue;
30 }
31 
32 @property(retain) SyphonClient *syphonClient;
33 
34 -(id) init;
35 -(void) startListeningWithServerDescription:(VuoSyphonServerDescription)description callback:(void(*)(VuoImage))receivedFrame;
36 -(void) stopListening;
37 -(void) refreshSyphonClientThreadUnsafe:(VuoList_VuoSyphonServerDescription)serverDescriptions;
38 -(void) refreshSyphonClient:(VuoList_VuoSyphonServerDescription)serverDescriptions;
39 
40 @end