[Ns-bugs] [Bug 138] Point-to-point netdevice queues aren't configurable from higher layers

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Thu Mar 6 14:58:30 PST 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=138





------- Comment #2 from tomh at tomh.org  2008-03-06 17:58 -------
Gustavo,
I think you raise an interesting question-- whether GetObject () should be used
for cases where dynamic_cast<> can be used.  When we were considering more
fully COM-like approaches, the answer seemed to be that we would use
QueryInterface for such downcasts.  We could choose between two policies in our
code base:
- avoid dynamic_cast, use GetObject
- use dynamic_cast where you want a subclass pointer, and GetObject for when an
entirely different object needs to be fetched

Other opinions?  


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list