Introduce a generic IDataStoreAgent implementation
- Add
makeDataStoreAgent
which takes a callable (eg. a lambda) and creates an instance of a class which inherits fromIDataStoreAgent
, and which implementsIDataStoreAgent::analyse
by invoking the callable - Extend the
IDataMgrSvc
interface so that where it accepts anIDataStoreAgent
, it also accepts a callable with the signature which matches the signature ofIDataStoreAgent::analyse
- Replace some
IDataStoreAgent
implementations with lambdas
Edited by Gerhard Raven