PCL
|
Typedefs | |
using | pcl::Timer::timer_event_handler = void(Control::*)(Timer &sender) |
Functions | |
void | pcl::Timer::OnTimer (timer_event_handler handler, Control &receiver) |
using pcl::Timer::timer_event_handler = void (Control::*)( Timer& sender ) |
Defines the prototype of a timer event handler.
A timer event is generated by an active Timer object, either at regular intervals (periodic timer), or just once when the timer period elapses (single-shot timer).
sender | The control that sends a timer event. |
void pcl::Timer::OnTimer | ( | timer_event_handler | handler, |
Control & | receiver | ||
) |
Sets the timer event handler for this Timer object.
handler | The timer event handler. Must be a member function of the receiver object's class. |
receiver | The control that will receive timer events from this Timer. |