QTimer does what you want -- "single-shot", or as in your case, fires repeatedly at a given (millisecond) frequency.
You might also google for "watch-dog-timer", as I think that may be a more common term than "looper".
If you want to go more lower-level, some systems (like Windows) have a "system-clock" (typically at millisecond resolution), and another higher-performance clock like a "multi-media-clock" (typically at nanosecond resolution) if performance is important.
[EDIT], Ok, so I watched the video on "what-is-a-looper". This looks like a standard event-processing-queue. GUI events trigger messages-added-to-the-queue, and the "looper" clears/executes-the-message-queue periodically. A special case is that the "looper" also handles "local-service-calls" (on Android, which was the topic of the video). So, it seems you merely need:
- a message queue
- a timer to clear the message queue (on a thread, or separate from the "main-processing")
The video notes:
- Views use Looper messages to fire events
- Since Loopers are 1:1 with threads, the View tree is too
- Threads you create cannot directly touch a View
- But, you can create a new Looper for your own thread
So, interesting, but doesn't look particulary difficult to implement. This is a well-tread pattern.
So, in this context, my suggestion of QTimer
would only be a part of the solution. Sounds like you want the library for the message queue to go with it.