After CPP encapsulates the timer, how to use the alarm function to trigger correctly?

I would like to ask you, when I seal the timer and use the alarm function to send the signal at a fixed time, how can I correctly use the signal function to set the signal handling function?
then the signal handling function is an in-class function tick , and other members are used in tick , so it is not suitable to set it to a static function, so what should I do

?
May.22,2022
Menu