anjay
anjay_ipso_3d_sensor_impl_struct Struct Reference

#include <ipso_objects.h>

Data Fields

const char * unit
 
bool use_y_value
 
bool use_z_value
 
void * user_context
 
double min_range_value
 
double max_range_value
 
anjay_ipso_3d_sensor_value_reader_tget_values
 

Field Documentation

◆ get_values

User provided callback for reading the sensor value.

◆ max_range_value

double max_range_value

The maximum value that can be measured by the sensor.

If the value is NaN the resource won't be created.

◆ min_range_value

double min_range_value

The minimum value that can be measured by the sensor.

If the value is NaN the resource won't be created.

◆ unit

const char* unit

Unit of the measured values.

The pointed string won't be copied, so user code must assure that the pointer will remain valid for the lifetime of the object.

◆ use_y_value

bool use_y_value

Enables usage of the optional Y axis.

◆ use_z_value

bool use_z_value

Enables usage of the optional Z axis.

◆ user_context

void* user_context

User context which will be passed to get_values callback.


The documentation for this struct was generated from the following file: