]> pilppa.com Git - lib1wire.git/commit
Started adding support for caches when reading data. Cache files for
authorMika Laitio <lamikr@pilppa.org>
Sun, 23 Jan 2011 22:23:18 +0000 (00:23 +0200)
committerMika Laitio <lamikr@pilppa.org>
Sun, 23 Jan 2011 22:23:18 +0000 (00:23 +0200)
commitd01194ab9275bc97176071089edc2781bb4de51b
tree9c8c93922b7947348026d4cfdd35dea0445f116f
parent56242039f27dc5d36117b8d513731c7a9009d4b1
Started adding support for caches when reading data. Cache files for
daily data calculations works already. (Cache done during first
calculation when the cache does not yet exist.)

Cache does not yet handle situations if the daily data is updated once
the cached value has been calculated.

Memory leak fixes and api changes.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
20 files changed:
src/Data.cc
src/Data.hh
src/Date.cc
src/Date.hh
src/DeviceConfig.cc
src/DeviceConfig.hh
src/DeviceData.cc
src/DeviceData.hh
src/Factory.cc
src/Makefile.am
src/Store.cc
src/Store.hh
src/StoreCache.cc [new file with mode: 0644]
src/StoreCache.hh [new file with mode: 0644]
src/StoreDay.cc [new file with mode: 0644]
src/StoreDay.hh [new file with mode: 0644]
src/W1Configure.hh
src/W1Device.cc
src_test/test_w1_datalog_read.cc
src_test/test_w1_datalog_write.cc