Introduce a generic IDataStoreAgent implementation
- Aug 24, 2018
-
-
Gerhard Raven authored9376fa6d
-
Gerhard Raven authored14342160
-
Gerhard Raven authored9f1ba160
-
Gerhard Raven authored
- use this new functionality to avoid implementing dedicated IDataStoreAgent types, and replace them with lambdas.
59c3bf9c -
Gerhard Raven authored
- Add `makeDataStoreAgent` which takes a callable (eg. a lambda) and creates an instance of a class which inherits from `IDataStoreAgent`, which implements `IDataStoreAgent::analyse` by invoking the callable - Use `makeDataStoreAgent` in `OutputStream`, avoiding the need to create an `IDataStoreAgent` on the heap
ea4da2a8
-