Structure representing a sensor measurement with type, values, and timestamp. More...
#include <com/navigine/idl/objc/NCSensorMeasurement.h>
Inherits NSObject.
Instance Methods | |
| (nonnull instancetype) | - initWithType:values:time: |
| Default constructor for class NCSensorMeasurement. | |
| (NSComparisonResult) | - compare: |
Class Methods | |
| (nonnull instancetype) | + sensorMeasurementWithType:values:time: |
| Factory method for class NCSensorMeasurement. | |
Properties | |
| NCSensorType | type |
| Type of the sensor. | |
| NCVector3d * | values |
| 3D vector containing sensor measurement values | |
| int64_t | time |
| Timestamp of the measurement in milliseconds. | |
Structure representing a sensor measurement with type, values, and timestamp.
Referenced from MeasurementListener.
Definition at line 19 of file NCSensorMeasurement.h.
| - (NSComparisonResult) compare: | (nonnull NCSensorMeasurement *) | other |
| - (nonnull instancetype) initWithType: | (NCSensorType) | type | |
| values: | (nonnull NCVector3d *) | values | |
| time: | (int64_t) | time |
Default constructor for class NCSensorMeasurement.
| + (nonnull instancetype) sensorMeasurementWithType: | (NCSensorType) | type | |
| values: | (nonnull NCVector3d *) | values | |
| time: | (int64_t) | time |
Factory method for class NCSensorMeasurement.
|
readnonatomicassign |
Timestamp of the measurement in milliseconds.
Swift code snippet:
Objective C code snippet:
Definition at line 75 of file NCSensorMeasurement.h.
|
readnonatomicassign |
Type of the sensor.
Swift code snippet:
Objective C code snippet:
Definition at line 47 of file NCSensorMeasurement.h.
|
readnonatomicassign |
3D vector containing sensor measurement values
Swift code snippet:
Objective C code snippet:
Definition at line 61 of file NCSensorMeasurement.h.