On trace paths

5 views
Skip to first unread message

C Facchini

unread,
Dec 1, 2009, 12:36:34 PM12/1/09
to ns-3-users
Dear list,

is there anyone who can explain how do I connect to the TraceSource
"Ssrc" in devices/wifi/wifi-remote-station-manager.cc?
(Note that Ssrc belongs to WifiRemoteStation and not to
WifiRemoteStationManager.)
So far, I've tried more than 10 different paths, and still I can't
connect.

The path I came up with is this: "/NodeList/0/DeviceList/0/
WifiRemoteStation/Ssrc", which doesn't work.

According to this post
http://mailman.isi.edu/pipermail/ns-developers/2009-August/006350.html
(if I got it right) I should avoid something like
$ns3::WifiRemoteStation because in this case ns-3 will call
GetObject<WifiRemoteStation> but WifiRemoteStation is not a registered
object (that is, there is no NS_OBJECT_ENSURE_REGISTERED
(WifiRemoteStation) ): in fact, when I try to do that I get: "Assert
in TypeId::LookupByName: ns3::WifiRemoteStation not found".

However, 'WifiRemoteStation' is not Attribute either (or am I wrong?),
and I get the following log message: "Requested item=WifiRemoteStation
does not exist on path=/NodeList/0/DeviceList/0/".

Since I have no idea of what to try next, I ask you for some hint.

Regards,
Christian

Tom Henderson

unread,
Dec 6, 2009, 8:08:08 PM12/6/09
to ns-3-...@googlegroups.com
Christian,
I don't have a quick answer for this; I looked in the existing Doxygen
and it seems that the trace source eludes the introspection mechanism.
If there is no response by tomorrow I'll file another bug for this.

Tom

C Facchini

unread,
Dec 9, 2009, 2:56:58 PM12/9/09
to ns-3-users
On Dec 6, 11:08 pm, Tom Henderson wrote:
> I don't have a quick answer for this; I looked in the existing Doxygen
> and it seems that the trace source eludes the introspection mechanism.
> If there is no response by tomorrow I'll file another bug for this.

OK. Thank you.
Chris
Reply all
Reply to author
Forward
0 new messages