So, what direction are we going to go with with this system? Well, right now it is very tied to OGL and GTL at a fundimental level, which is fine for testing but doesn't make it all that flexible.
So, this got me thinking, how can you design a system which is both flexible and safe without introducing an inhertiance chain as long as your arm?
Policy based design and type-traits are a fantasic way to produce flexible systems which don't require inhertiance chains and allow you to customise various aspects of the system.
I'm currently considering an STL like system in some respects, were aspects can defined at both compile time AND runtime. However, the specifics are still somewhat stuck in my head and being worked around a bit.
The direction I want to head is so that the loader used, the storage system, how the handles are free'd and the handles themselves can be customised at compile time, so the functionality of the class is, effectively, pushed out to other user defined classes (of course, examples will be given).
As a future consideration there is an article in one of the GPG books which talks about introducing new resource types without needing to compile the resource handling code again, this aspect will also be brought into the system.
I'll probably come up with a few managers over the coming weeks, because there are a few ways to handle all of this, from monolthic managers to indivdual ones per resource and combining them in other wise.
It should be an intersting exercise in templates for me if nowt else, of course that means that part 3 proper might be a few days coming as I need to refresh my template knowledge as well as readup on policies and typetraits again, which gives me 3 books to look at (C++ Templates - The Complete Guide, Modern C++ Design and C++ Meta Programming).
Also, I've been working on getting the More OpenGL Game Programming GLSL examples working... they work on my framework but seem to fail on the book supplied one... slightly odd.
So, if there isn't an update in a little while, in the words of the HHGTTG; Don't Panic.
I'll be back with more as soon as I can [smile]