This repository was archived by the owner on Jan 15, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCaptureGraphController.h
More file actions
60 lines (46 loc) · 1.75 KB
/
Copy pathCaptureGraphController.h
File metadata and controls
60 lines (46 loc) · 1.75 KB
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
54
55
56
57
58
59
60
//
// CaptureGraphController.h
// Eavesdrop
//
// Created by Eric Baur on 12/27/04.
// Copyright 2004 Eric Shore Baur. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "GC-Constants.h"
#import "DataSet.h"
#import "Conversation.h"
#import "SM2DGraphView.h"
//#import <SM2DGraphView/SM2DGraphView.h>
#define allPacketsScopeTag 0
#define selectedPacketsScopeTag 1
@interface CaptureGraphController : NSObject {
DataSet *dataSet;
DataSet *dataSet2;
IBOutlet SM2DGraphView *parentGraphView;
IBOutlet NSArrayController *conversationController;
NSArray *conversationArray;
GCVariableType independentTag, dependentTag;
int sourceTag;
int scopeTag;
GCGraphType graphType;
double minY, minX, maxY, maxX;
NSArray *pieChartArray;
IBOutlet NSProgressIndicator *refreshProgress;
}
- (void)setIndependentTag:(GCVariableType)newTag;
- (void)setDependentTag:(GCVariableType)newTag;
- (void)setSourceTag:(int)newTag;
@property (NS_NONATOMIC_IOSONLY) int scopeTag;
- (NSString *)identifierForTag:(GCVariableType)tag;
- (NSString *)stringForTag:(GCVariableType)tag;
- (IBAction)refreshGraph:(id)sender;
- (IBAction)swapVariables:(id)sender;
- (IBAction)saveData:(id)sender;
- (unsigned int)numberOfLinesInTwoDGraphView:(SM2DGraphView *)inGraphView;
- (NSDictionary *)twoDGraphView:(SM2DGraphView *)inGraphView attributesForLineIndex:(unsigned int)inLineIndex;
- (NSArray *)twoDGraphView:(SM2DGraphView *)inGraphView dataForLineIndex:(unsigned int)inLineIndex;
- (double)twoDGraphView:(SM2DGraphView *)inGraphView maximumValueForLineIndex:(unsigned int)inLineIndex
forAxis:(SM2DGraphAxisEnum)inAxis;
- (double)twoDGraphView:(SM2DGraphView *)inGraphView minimumValueForLineIndex:(unsigned int)inLineIndex
forAxis:(SM2DGraphAxisEnum)inAxis;
@end