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

[ns] can I call a function of command() in c++ file



HI, there, 

I know the function in command() is supposed to called from tcl file, but
I would like to reuse some part of existing code in command() in
some_agent, so can I
call some_agent->command( ..  )  in c++ file?
in tcl file, I can wirte something like "$some_agent  action1 arg1"..
what am I supposed to put in the command?

thanks,
yan