Canini Marco wrote:
> In the end, I had to remove the constness of the Payload type in the Trie but 
> that didn't require many changes overall.
>
> Now I'm successful in serializing instances of RIB along with all the 
> RouteTable derivate classes.
>   

Excellent stuff... We will need to review carefully. I simply haven't 
had time to look at Boost.Serialization yet, as you can probably tell 
from all the list traffic.

Which platform(s) are you targeting?

> Unfortunately, for certain RouteTables at deserialization time I need to have 
> references to objects of type EventLoop and RibManager.
>   
> Are these two classes singleton?
>   

Off the top of my head, Eventloop yes, RibManager probably.

If you spot any obvious Boost refactorings,  e.g. using 
shared_ptr/weak_ptr, tuple etc, feel free to submit, such contributions 
are very, very welcome...

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to