public void
set_state_cbk(g_addr,state_id,func_p,instance_name)
genprt g_addr;
int state_id;
funcp func_p;
int param;Note: If you are using state callbacks, it is necessary to tell Rational Statemate in advance which states are going to be used in callbacks, i.e., “hook them out” so an appropriate ID can be assigned. This is not necessary for other element callbacks.