|
From: <fl...@ma...> - 2004-01-31 14:49:09
|
Hi Vlad, (forwarding to the list), I am glad to announce you that the Counted Reference template I had made based on some interesting ideas that I collected from the internet is live and kicking :P ... I cannot update it cause I dont have internet at home for (I hope) a few days. But it had overcomed my own expectations (I had even done a test suite -regression test- for it and they work as expected)... The only thing that I had been having trouble is to integrate the Singleton template from another compilation unit (I created a singleton in one .lib and try to use it from the main program), it do not get created but I cannot reseach it further until I have internet again. As a side note, I am very convinced that the network persistent data will follow the same approach as CountedRef<classname> because of its simplicity and has an additional system that will keep them synchronized. So we will have 2 new templates NetworkRef<classname> and ServerRef<classname> that will be used to do the effective store (so there will be a map between instances). And of course a NetworkReferenceManager and a ServerReferenceManager (or a single NetworkReferenceManager) that will handle the load to communicate to the other side what objects changed and how and in the case of a NetworkRef change issue the command to the server for data and action validation. Any idea on the latest issue just drop it to the list (that's for all readers). Greetings Red Knight |