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

binding




Hi,

  I am adding a new agent which inherits from Reno. So the class name is:

Agent/TCP/Reno/MyAgent

  I have a binding in the C++ constructor of that class as follows:

  bind("my_var_", &my_var_);

  Compilation works fine, but when I run ns I get the following warning:

warning: no class variable Agent/TCP/Reno/MyAgent::my_var_

  I was wondering what is the reason of this warning ?

Thanks in advance,

-- Amr