3 #import <UIKit/UIKit.h>
5 #import <Cocoa/Cocoa.h>
7 #import "OSCAddressSpace.h"
8 #import "OSCZeroConfManager.h"
10 #import "OSCOutPort.h"
11 #import "OSCQueryReply.h"
46 NSString *inPortLabelBase;
51 + (NSArray *) hostIPv4Addresses;
53 - (id) initWithServiceType:(NSString *)t;
54 - (id) initWithInPortClass:(Class)i outPortClass:(Class)o;
55 - (id) initWithInPortClass:(Class)i outPortClass:(Class)o serviceType:(NSString *)t;
56 - (void) _generalInit;
59 - (void) deleteAllInputs;
61 - (void) deleteAllOutputs;
64 - (
OSCInPort *) createNewInputFromSnapshot:(NSDictionary *)s;
66 - (
OSCInPort *) createNewInputForPort:(
int)p withLabel:(NSString *)l;
68 - (
OSCInPort *) createNewInputForPort:(
int)p;
73 - (
OSCOutPort *) createNewOutputFromSnapshot:(NSDictionary *)s;
75 - (
OSCOutPort *) createNewOutputToAddress:(NSString *)a atPort:(
int)p withLabel:(NSString *)l;
77 - (
OSCOutPort *) createNewOutputToAddress:(NSString *)a atPort:(
int)p;
86 - (void) dispatchQuery:(
OSCMessage *)m toOutPort:(
OSCOutPort *)o timeout:(
float)t replyDelegate:(
id <OSCQueryReplyDelegate>)d;
91 - (NSString *) getUniqueInputLabel;
92 - (BOOL) isUniqueInputLabel:(NSString *)n;
94 - (NSString *) getUniqueOutputLabel;
96 - (
OSCInPort *) findInputWithLabel:(NSString *)n;
97 - (NSMutableArray *) findInputsWithLabel:(NSString *)n;
99 - (
OSCOutPort *) findOutputWithLabel:(NSString *)n;
100 - (NSMutableArray *) findOutputsWithLabel:(NSString *)n;
102 - (
OSCOutPort *) findOutputWithAddress:(NSString *)a andPort:(
int)p;
104 - (
OSCOutPort *) findOutputWithRawAddress:(
unsigned int)a andPort:(
unsigned short)p;
106 - (
OSCOutPort *) findOutputWithRawAddress:(
unsigned int)a;
111 - (
OSCInPort *) findInputWithZeroConfName:(NSString *)n;
113 - (void) removeInput:(
id)p;
115 - (void) removeOutput:(
id)p;
117 - (void) removeOutputWithLabel:(NSString *)n;
119 - (void) removeAllOutputs;
121 - (NSArray *) outPortLabelArray;
126 - (NSString *) inPortLabelBase;
127 - (void) setInPortLabelBase:(NSString *)n;
135 - (void) setDelegate:(
id)n;
id delegate
If there's a delegate, it will be notified when OSC messages are received.
Definition: OSCManager.h:41
Corresponds to an OSC message: contains zero or more values, and the address path the values have to ...
Definition: OSCMessage.h:18
Main VVOSC class- manages in & out port creation, zero configuration networking (bonjour/zeroconf) ...
Definition: OSCManager.h:37
id inPortClass()
By default, returns [OSCInPort class]- subclass around to use different subclasses of OSCInPort...
Definition: OSCManager.m:685
id outPortClass()
By default, returns [OSCOutPort class]- subclass around to use different subclasses of OSCOutPort...
Definition: OSCManager.m:705
OSCInPort handles everything needed to receive OSC data on a given port.
Definition: OSCInPort.h:32
OSCOutPort handles everything needed to send OSC data to a given address.
Definition: OSCOutPort.h:25
Similar to NSMutableArray, but thread-safe. Internally, uses an NSMutableArray and a rwlock...
Definition: MutLockArray.h:20
OSCZeroConfManager * zeroConfManager
Creates OSCOutPorts for any OSC destinations detected via bonjour/zeroconf.
Definition: OSCManager.h:43