NS2, Otcl: using a variable of an owned instance within a class
- by Hussain
Hello all,
I'm using NS2 to create some new classes in C++ and then link them to otcl. The linkage and everything works, but when I try to use the otcl variables in an object, I'm having a trouble.
For example, suppose I have a class "Node" with the variable X. In the code I want to set this value and later on use it in some if-statements.
…