Closed erikfrojdh closed 6 months ago
This is a bit connected to the current hierarchy as well. It feels like we have one level to much:
I think it should be enough to have a File which internally holds a pointer to a FileInterface/Imlementation which is how the actual loading is done. This would leave us with
Another option would be to solve it with type erasure to to have the different types of files inherit from the FileInterface on the other hand I don't think we will use third party implementations for reading
should be fixed with #56
I somehow think the current API is a bit cumbersome to use with the multiple templates. It would be great to be able to do something like this
Another thing to offer efficient loading is the ability to read a frame into an existing buffer