Skip to content

No sqlite

Jonathan Hanks requested to merge jonathan-hanks/nds2-client:no-sqlite into master

Reworked the code to do an in memory cache for nds1 instead of sqlite. Status channels 2; is only issued once to get a channel list.

As part of this code has been introduced to start doing more of the low level protocol in C++. This is done with the following goals:

  • provide a back-end that is more modular/testable
  • expressing the code through higher level/order expressions.

The implementation includes:

  • A socket module, built to allow wrapping the low level daq socket
  • Utility classes
  • And basic abstractions for reading status channels 2 output
  • tests

The implementation is done as a header only library that is designed for the client implementation, not the public interface. It makes use of templates and layered IO systems to allow unit testing by allowing the I/O and state to be replaced with test objects.

Added a test that had been missing from the c++ suite and adjusted the nds_fetch tests to the single pass with status channels 2;

Removes sqlite from all the package dependencies.

Merge request reports