vvopensource
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
AppController.h
1 //
2 // AppController.h
3 // OSC
4 //
5 // Created by bagheera on 9/20/08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
7 //
8 
9 #import <Cocoa/Cocoa.h>
10 #import <VVOSC/VVOSC.h>
11 
12 
13 @interface AppController : NSObject {
14  OSCManager *manager;
15  OSCInPort *inPort;
16  OSCOutPort *manualOutPort; // this is the port that will actually be sending the data
17 
18  IBOutlet NSTextField *receivingAddressField;
19  IBOutlet NSTextField *receivingPortField;
20  IBOutlet NSTextView *receivingTextView;
21 
22  IBOutlet NSTextField *ipField;
23  IBOutlet NSTextField *portField;
24  IBOutlet NSTextField *oscAddressField;
25  IBOutlet NSButton *bundleMsgsButton;
26 
27  IBOutlet NSSlider *floatSlider;
28  IBOutlet NSTextField *floatField;
29  IBOutlet NSTextField *intField;
30  IBOutlet NSTextField *longLongField;
31  IBOutlet NSColorWell *colorWell;
32  IBOutlet NSButton *trueButton;
33  IBOutlet NSButton *falseButton;
34  IBOutlet NSTextField *stringField;
35 
36  IBOutlet NSMatrix *displayTypeRadioGroup;
37 
38  IBOutlet NSPopUpButton *outputDestinationButton;
39 }
40 
41 - (void) displayPackets;
42 
43 - (void) oscOutputsChangedNotification:(NSNotification *)note;
44 - (IBAction) outputDestinationButtonUsed:(id)sender;
45 
46 // called when IP address or port field is used
47 - (IBAction) setupFieldUsed:(id)sender;
48 // called when float/int/color/etc. field is used
49 - (IBAction) valueFieldUsed:(id)sender;
50 // called when user changes display mode
51 - (IBAction) displayTypeMatrixUsed:(id)sender;
52 // called when the user clicks the "clear" button
53 - (IBAction) clearButtonUsed:(id)sender;
54 
55 - (IBAction) logAddressSpace:(id)sender;
56 
57 - (IBAction) timeTestUsed:(id)sender;
58 
59 - (IBAction) intTest:(id)sender;
60 - (IBAction) floatTest:(id)sender;
61 - (IBAction) colorTest:(id)sender;
62 - (IBAction) stringTest:(id)sender;
63 - (IBAction) lengthTest:(id)sender;
64 - (IBAction) blobTest:(id)sender;
65 
66 @end
Main VVOSC class- manages in & out port creation, zero configuration networking (bonjour/zeroconf) ...
Definition: OSCManager.h:37
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