vvopensource
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
OSCBundle.h
1 
2 #if IPHONE
3 #import <UIKit/UIKit.h>
4 #else
5 #import <Cocoa/Cocoa.h>
6 #endif
7 
8 #import "OSCMessage.h"
9 
10 
11 
12 
14 
24 @interface OSCBundle : NSObject {
25  NSMutableArray *elementArray; // array of messages or bundles
26  NSDate *timeTag; // nil by default, or the time at which the contents of this bundle should be dispatched
27 }
28 
29 + (void) parseRawBuffer:(unsigned char *)b ofMaxLength:(int)l toInPort:(id)p inheritedTimeTag:(NSDate *)d fromAddr:(unsigned int)txAddr port:(unsigned short)txPort;
31 + (id) create;
33 + (id) createWithElement:(id)n;
35 + (id) createWithElementArray:(id)a;
36 
38 - (void) addElement:(id)n;
40 - (void) addElementArray:(NSArray *)a;
41 
42 - (long) bufferLength;
43 - (void) writeToBuffer:(unsigned char *)b;
44 
45 @property (retain,readwrite) NSDate *timeTag;
46 
47 @end
An OSCBundle is a "container" for multiple OSC messages or bundles (bundles may also be nested) ...
Definition: OSCBundle.h:24