Right now I get the state of the ITM with itm_getstate(x->itm_object) by polling it regularly through the myTimeObjectMethod
as well as the current ITM time with itm_getticks(x->itm_object);
I was wondering if it would be possible to get notifications from ITM when its state changes, thus avoiding the permanent polling.
So I tried with
object_attach_byptr_register(x, x->itm_object, CLASS_NOBOX);
and was hoping to receive a notification from ITM in my notify method, but nothing appears.
So is it possible to get such a notification and how?
Thanks for any help.