[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] What's is the shadow object name in C++ domain.
Hi,
If I create an agent, for example Ping, in the tcl script
set ns [new Simulator]
set n0 [$ns node];
...
#create agent and attach to node 0
set p0 [new Agent/Ping]
$ns attach-agent $n0 $p0
....
Since p0 is an object, it should have a "shadow object" in the c++ domain.
Dose anyone know the "shadow object" name and how can I use it?
Thanks,
C.L.
****************************************************************************
Chien-Lung Wu cwu4@eos.ncsu.edu
Graduate Student of ECE (O) 919-513-1894
at North Carolina State University (H) 919-233-6724
****************************************************************************