From 64f4c95cf6d3a772bfc721081dc39e2105c2756c Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Sun, 28 Nov 2010 13:37:11 +0200 Subject: [PATCH] Initial support for reading log-data. It is now possible also to query the stored data for sensors. The directory structure for storing and reading data was changed from the previous version. Signed-off-by: Mika Laitio --- .cproject | 7 +- .project | 2 +- .../org.eclipse.ltk.core.refactoring.prefs | 3 + configure.ac | 2 +- src/Makefile.am | 5 +- src/W1Configure.hh | 14 + src/W1CounterDevice.cc | 6 +- src/W1CounterDevice.hh | 2 +- src/W1DataList.cc | 129 ++++++ src/W1DataList.hh | 44 ++ src/W1Device.cc | 10 +- src/W1Device.hh | 6 +- src/W1Scanner.cc | 64 +-- src/W1Scanner.hh | 1 - src/W1Store.cc | 112 ++--- src/W1Store.hh | 8 +- src/W1TemperatureSensor.cc | 52 +-- src/W1TemperatureSensor.hh | 2 +- src/W1Util.cc | 385 ++++++++++++++++++ src/W1Util.hh | 44 ++ src_test/Makefile.am | 7 +- src_test/test_w1.cc | 18 +- src_test/test_w1_datalog_read.cc | 76 ++++ 23 files changed, 857 insertions(+), 142 deletions(-) create mode 100644 .settings/org.eclipse.ltk.core.refactoring.prefs create mode 100644 src/W1Configure.hh create mode 100644 src/W1DataList.cc create mode 100644 src/W1DataList.hh create mode 100644 src/W1Util.cc create mode 100644 src/W1Util.hh create mode 100644 src_test/test_w1_datalog_read.cc diff --git a/.cproject b/.cproject index 28280ce..26c3c24 100644 --- a/.cproject +++ b/.cproject @@ -20,7 +20,7 @@ - +