Loading...
Searching...
No Matches
NCSensorMeasurement.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCSensorType.h"
3#import "NCVector3d.h"
4#import <Foundation/Foundation.h>
5
18DEFAULT_EXPORT_ATTRIBUTE
19@interface NCSensorMeasurement : NSObject
20
24- (nonnull instancetype)initWithType:(NCSensorType)type
25 values:(nonnull NCVector3d *)values
26 time:(int64_t)time;
27
31+ (nonnull instancetype)sensorMeasurementWithType:(NCSensorType)type
32 values:(nonnull NCVector3d *)values
33 time:(int64_t)time;
34
47@property (nonatomic, readonly) NCSensorType type;
48
61@property (nonatomic, readonly, nonnull) NCVector3d * values;
62
75@property (nonatomic, readonly) int64_t time;
76
77- (NSComparisonResult)compare:(nonnull NCSensorMeasurement *)other;
78
79@end