Vuo  2.3.2
VuoSyphonListener.h
Go to the documentation of this file.
1 
10 #include "node.h"
11 
12 #include "VuoMacOSSDKWorkaround.h"
13 #import <AppKit/AppKit.h>
14 #import <Syphon.h>
15 
17 #include "VuoImage.h"
18 
22 @interface VuoSyphonListener : NSObject
23 {
24  void (*callback)(VuoImage);
27  dispatch_queue_t refreshQueue;
28 }
29 
30 @property(retain) SyphonClient *syphonClient;
31 
32 -(id) init;
33 -(void) startListeningWithServerDescription:(VuoSyphonServerDescription)description callback:(void(*)(VuoImage))receivedFrame;
34 -(void) stopListening;
35 -(void) refreshSyphonClientThreadUnsafe:(VuoList_VuoSyphonServerDescription)serverDescriptions;
36 -(void) refreshSyphonClient:(VuoList_VuoSyphonServerDescription)serverDescriptions;
37 
38 @end