[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] quesion about accessing variable in different class
1 --------> 2 -------> 3
as above, node 1 is attached with a traffic generator(such as CBR); there is an UDP agent attached to node 2;
I am making some changes to CBR_traffic.cc, and I want to get some information from the UDP agent.
For example, I have a pointer *PacketCount in UDP.cc , how can I access this variable in CBR_traffic.cc??
thanx
������վ�����߽�������ֵĶ������磬
�е�Ӱ������Ϸ������MTV��ǧ�������ˣ�
http://cartoon.163.com
�������ڽ���FLASH��Ϸ���������������ֵ����٣�