NAME

get_sensor_version - Returns the version number of the sensor

SYNOPSIS

#include "c/c_sensor.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int get_sensor_version(void);

DESCRIPTION

This routine returns the version number of the sensor. This is so that routines relying on results from this module can determine if cached results are out of date due to the user re-setting the sensor file.

RETURNS

The sensor version, which is 0 when no sensors have been set, and is incremented each time the sensors get changed.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

sensor_data_is_up_to_date , normalize_illum_spectra , ow_normalize_illum_spectra , get_RGB_sensors , get_spectrum_xy_locus , get_spectrum_uv_locus , get_spectrum_rg_locus , get_xy_from_spectrum , get_xy_from_XYZ , get_uv_from_spectrum , get_uv_from_XYZ , get_rg_from_spectrum , get_rg_from_RGB , get_XYZ_from_spectrum , get_RGB_from_spectrum , get_ct_from_spectrum , get_sum_from_spectrum , get_RGB_vector_from_spectrum , generate_RGB_data , get_RGB_data_from_spectra , get_RGB_vector_from_spectra , get_RGB_from_spectra