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

[ns] Linking in OTcl class variables



I'm developing a queueing mechanism which is based on RED and an associated TCP 
agent which is based on TCP/Reno.  The C++ code for these protocols compiles, 
but I'm getting warnings that my all variables are not linking into my tcl 
objects (for example):

warning: no class variable Queue/QueueMechanism::bytes_

warning: no class variable Agent/TCP/Type::threshold_
	see tcl-object.tcl in tclcl for info about this warning.


These variables are bound to the OTcl level using the method bind(char*, 
variable), initialised in the ns-default.tcl file and the specific TclClass is 
defined, and the TclObject created, etc, etc.

Where else would the binding need to be addressed?

Thanks,
Sven.