[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] cbr definition
> I've tried that, and found nothing. In ns-default.tcl, there are some
> initializations of variables in various classes, and grep in ns/tcl/lib
> produced no lines of the form "Class Application/Traffic/CBR", which is
> what I expected to see, nor anything else that seemed like a class
> definition. Seems strange to me. Doesn't every OTcl class which mirrors
> some compiled C++ class have to be defined in that manner in some .tcl
> file? Or can some new OTcl classes be defined solely through the
> execution of C++ methods within the mirrored C++ classes?
Yes, otcl classes can be defined solely through C++ methods. I think the
"Agent" and "Node" classes are also examples of that.
Satish
>
> Sorry to beat a dead horse, but I'm making no progress with figuring this
> out -- and it seems like a very basic thing overall.
>
> --Pat.
>