[Consmgr-tech] Incompletely constructed objects
Status: Alpha
Brought to you by:
cross
|
From: Chris R. <cr...@di...> - 2008-04-30 22:00:08
|
This is the bane of my existence right now, and making it very hard
for me to get anything working. Even though I've thrown that kludge
into Connection::manager() so that it can survive without blowing
itself to smithereens, all of the debugging statements are reporting
being part of an FDConnector, rather than the SocketConnector they
really are, because the methods are being called in the wrong order (I
think). I guess I'm not 100% sure that it's the problem in that one
case, but it's definitely a problem we need to solve.
You are the one who suggested the "Make an object do everything
it's supposed to do upon construction" methodology, which I agree has
advantages, but looks impractical given the virtual inheritance issues
we're seeing. We need to figure out some other methodology, I fear.
Thoughts?
- Chris
|