[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] What's is the shadow object name in C++ domain.



I thin it would be an internal format name. You can pass the tcl name to
some agent and then the agent can do a tcllookup.

Deco 

On Mon, 26 Feb 2001, Chien-Lung Wu wrote:

> 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						[email protected]
> Graduate Student of ECE 				(O) 919-513-1894
> at North Carolina State University			(H) 919-233-6724
> ****************************************************************************
> 
> 
>