remote station manager

349 views
Skip to first unread message

scolfield

unread,
Aug 3, 2011, 10:27:16 PM8/3/11
to ns-3-...@googlegroups.com
Hi list,

Recently, I've created a new wifi remote station manager, in other words, 
my new remote station manager enhance from WifiRemoteStationManager.
The problem I've finding is that the my new remote station manager aren't 
instantiated or created, I think, because the object that hold it, is always zero
value. 

I've created a helper class to create  my new remote station manager
and hold it into the NetDevice object. So, when I compile with ./waf my ns-3
occur SIGSEGV alert message returned by compiler. The fact that such error
occurr, is because the my new remote station manager didn't instantiated, I
think... well, there are some restrictions about to create new wifi remote station
manager? 

I saw my code any times, but apparently all is correct.. all is well..
The architecture is similarly to ArfWifiManager is implemented..,  actually basically 
I created a new file (.cc and .h) with appropriate name and I perform copy from
ArfWifiManager{.cc, .h} and paste to that new files. So, I modified the name class
from ArfWifiManager to NewArfWifiManager and so, inclusively I modified 
the method Default, to create my adhoc wifi manager. Anybody passed through this
same or similar problem?

Thank you,
--
scolfield

Lalith Suresh

unread,
Aug 4, 2011, 1:39:25 AM8/4/11
to ns-3-...@googlegroups.com
Hello,

- Check if your files are being built and headers exported through the wscript.
- Check if the TypeId you've specified in the simulation script matches what is specified in your class implementation.
 
Thank you,
--
scolfield

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.



--
Lalith Suresh
Department of Computer Science and Engineering
Instituto Superior Técnico
www.lalith.in

scolfield

unread,
Aug 4, 2011, 11:41:59 AM8/4/11
to ns-3-...@googlegroups.com
Hi, 

Thank you. I'll check out.
Reply all
Reply to author
Forward
0 new messages