-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFunction.h
executable file
·53 lines (52 loc) · 1.38 KB
/
Function.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// Function.h
// VisionSandbox
//
// Created by Joel Brogan on 8/9/14.
// Copyright (c) 2014 Magna Mirrors. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FunctionVisualParametersView.h"
#import "Timer.h"
#import "VisualFunctionViewHolder.h"
#import "ComboView.h"
#import "SliderView.h"
#import "SliderDoubleView.h"
#import "CheckboxView.h"
#import "PropertyUtility.h"
#import <objc/runtime.h>
#import "OpenImageHandler.h"
#import "GLViewListCommand.h"
@interface Function : NSObject <NSCoding,NSCopying,NSPasteboardWriting,NSPasteboardReading>
{
FunctionVisualParametersView *parametersView;
NSString *functionName;
NSString *functionTreePath;
NSString *documentation;
NSMutableDictionary *dynamicProps;
Timer *timer;
double runTime;
bool hasSettingsWindow;
bool displayStepAsLayer;
Class inputType;
Class outputType;
NSDictionary *propertySettings;
}
@property FunctionVisualParametersView *parametersView;
@property NSString *functionName;
@property NSString *documentation;
@property double runTime;
@property bool displayStepAsLayer;
@property bool hasSettingsWindow;
@property (readonly) Class inputType;
@property (readonly) Class outputType;
@property NSString *functionTreePath;
- (id)init;
-(id)runMethod:(id)input;
- (id)run:(id)input;
- (void)beginRun;
- (void)endRun;
- (void)sendError;
- (void)applyParameterViewSettings;
-(void)loadParametersToView;
@end