From: C Facchini <c.facch...@gmail.com>
Date: Fri, 11 Sep 2009 15:39:11 -0700 (PDT)
Local: Fri, Sep 11 2009 6:39 pm
Subject: Re: On callbacks
Hi Antti,
> > void CwndTracer (uint32_t oldval, uint32_t newval);
The error you posted tells that you defined a function that accepts
> What if I connect WITH context? Context is passed as a string,
> I'm getting error as
> got=ns3::FunctorCallbackImpl<void (*)(std::string, bool, bool), void,
> when trying to connect my TracedValue<bool> to a function with func
three arguments (one string and two booleans) but he expects to find a function taking just two arguments (one string and one boolean). As a matter of fact, you admit that it works in the case you define a callback that accepts the two parameters string and bool. Out of my curiosity, what's the variable you're trying to trace?
Regards,
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||