Why are some trace callback static?

11 views
Skip to first unread message

zhao yang

unread,
Sep 19, 2016, 9:01:09 AM9/19/16
to ns-3-users
 I found that many trace callback are static, but the object is passed through a parameter, 
So I have a question: why not use member function as a callback directly?

Tommaso Pecorella

unread,
Sep 19, 2016, 7:08:03 PM9/19/16
to ns-3-users
Hi,

do an example, it's easier to answer with practical code.

Cheers,

T.
Reply all
Reply to author
Forward
0 new messages