|
Bugzilla – Full Text Bug Listing |
| Summary: | Tracing asserts too easily now | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Component: | core | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Gustavo J. A. M. Carneiro
2008-09-03 10:22:50 UTC
There is no such thing as "connect to all tx events" and I said so many times. You have to be specific to request to which events you want to connect. I would suggest using the $ns3::CsmaNetDevice notation: "/NodeList/*/DeviceList/*/$ns3::CsmaNetDevice/Tx" "/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Tx" If you want an API which hides this, you need to use the Helper API. OK, cool trick, but not easy to come up with the idea :P Maybe we need a FAQ, or code snippets repository :) (In reply to comment #2) > OK, cool trick, but not easy to come up with the idea :P > Maybe we need a FAQ, or code snippets repository :) I am all for a FAQ and I will fill answers for questions added there. (In reply to comment #3) > (In reply to comment #2) > > OK, cool trick, but not easy to come up with the idea :P > > Maybe we need a FAQ, or code snippets repository :) > > I am all for a FAQ and I will fill answers for questions added there. > There are several places for this type of information. Joe started this page: http://www.nsnam.org/wiki/index.php/Category:Samples We also have a user FAQ: http://www.nsnam.org/wiki/index.php/User_FAQ Or the manual. |