Currently, each adapter in src/*/adapter.h is following the same interface but it has not been properly documented. We would like to have some superclass such that:
- We have documentation for all functions.
- We can provide default implementations of operations.
To get the types to work out, we might need to use the curiously recurring template pattern.
This also has the added benefit, that we can think about whether some functions ought to be renamed. Luckily, such a superclass should help static analysis with renaming the functions.
Currently, each adapter in
src/*/adapter.his following the same interface but it has not been properly documented. We would like to have some superclass such that:To get the types to work out, we might need to use the curiously recurring template pattern.
This also has the added benefit, that we can think about whether some functions ought to be renamed. Luckily, such a superclass should help static analysis with renaming the functions.