Sensor data view controller class class.
More...
#import <SensorDataViewController.h>
Inherits NSViewController, <CPTPlotAreaDelegate>, <CPTPlotSpaceDelegate>, <CPTPlotDataSource>, and <CPTScatterPlotDelegate>.
Sensor data view controller class class.
This class contains the plot for the sensor data. By clicking in the plot area both a negative and a positive threshold line can be set.
- Author
- Benjamin Thiemann
- Date
- 2016/11/16
◆ generatePlotInView:()
- (void) generatePlotInView: |
|
(nonnull NSView *) |
view |
|
This method draws the graphs with all it's plots in the given view.
- Parameters
-
◆ incomingCalibrationData:()
- (void) incomingCalibrationData: |
|
(nonnull id) |
sender |
|
This method handles incoming calibraion data.
- Parameters
-
sender | The sending instance. |
◆ resetGraph()
This method resets the graph.
◆ setParameters:titleSize:()
- (void) setParameters: |
|
(NSUInteger) |
time |
titleSize: |
|
(NSUInteger) |
aTitleSize |
|
|
| |
This method sets the given parameters.
- Parameters
-
time | The maximum time (x axis). |
aTitleSize | The title size. |
◆ showData:()
- (void) showData: |
|
(nonnull id) |
sender |
|
This method shows the data in the plot. Invoked when a data acquisition is completed.
- Parameters
-
sender | The sending instance. |
◆ graph
◆ isCalibrating
Boolean value that indicates whether calibraiton is ongoing.
◆ negativeThresholdLine
- (CPTScatterPlot*) negativeThresholdLine |
|
protected |
Horizontal line representing the negative threshold.
◆ negativeThresholdValue
- (float) negativeThresholdValue |
|
protected |
Float value representing the negative threshold.
◆ plotMaxTime
Maximum plot time (scaling of x axis).
◆ positiveThresholdLine
- (CPTScatterPlot*) positiveThresholdLine |
|
protected |
Horizontal line representing the positive threshold.
◆ positiveThresholdValue
- (float) positiveThresholdValue |
|
protected |
Float value representing the positive threshold.
◆ sensorDataPlot
- (CPTScatterPlot*) sensorDataPlot |
|
protected |
◆ titleSize
◆ hostingView
- (IBOutlet CPTGraphHostingView*) hostingView |
|
readwritenonatomicstrong |
The hosting view for the graph.
The documentation for this class was generated from the following files: