[Ns-bugs] [Bug 284] cannot use config paths to get a handle on an object
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Tue Oct 21 03:29:01 PDT 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=284
------- Comment #12 from mathieu.lacage at sophia.inria.fr 2008-10-21 06:28 -------
(In reply to comment #11)
> So, looking at this more closely, I like it very much. Only two comments:
>
> 1. > void Set (std::string attribute, const AttributeValue &v);
> I would prefer SetAttribute here, or maybe SetAttributeForeach. It took me
> a few seconds to figure out what this 'Set' was supposed to do, until I figured
> out it must be "set an attribute on the object(s) pointed to by the trace path.
> Also it makes it more consistent with ObjectBase::SetAttribute;
I agree but I tried to be consistent with Config::Set :/
> 2. This is a great opportunity to factor in a fix for bug #127 ;-) i.e.
> provide a way to obtain the callback signature for a trace path. So, if you
> could add a method like const std::type_info & GetCallbackType (), or
> GetCallbackType (int i), it should be enough to get tracing working for Python
> bindings, with some additional effort on my part.
how about you implement it in a branch, and, then, I will review the changes
you needed to make to the callback code ?
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Ns-bugs
mailing list