how to access/print a variable in .cc file into tcl script ?
I have to change the value of the variable double sense_time_, double transmit_time_, which is declared and initialized in the classes SpectrumManager.h and SpectrumManager.cc files (see the attachment). I found the object for the class SpectrumManager is created in the file Mac-802_11.c file and the sense_time_ and transmit_time is initialized with values 0.1 and 1.0 respectively.
My question is how can I change the values of these variables through tcl script , so that I can change the values and run the simulation for different times.
Can any one please help me to solve this
Thanks in advance