1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added some documentation.

This commit is contained in:
jules 2013-02-01 20:33:04 +00:00
parent ca9a7fe82c
commit 64c984896e
2 changed files with 15 additions and 1 deletions

View file

@ -26,6 +26,20 @@
#ifndef __JUCE_HIGHRESOLUTIONTIMER_JUCEHEADER__
#define __JUCE_HIGHRESOLUTIONTIMER_JUCEHEADER__
/**
A high-resolution periodic timer.
This provides accurately-timed regular callbacks. Unlike the normal Timer
class, this one uses a dedicated thread, not the message thread, so is
far more stable and precise.
You should only use this class in situations where you really need accuracy,
because unlike the normal Timer class, which is very lightweight and cheap
to start/stop, the HighResolutionTimer will use far more resources, and
starting/stopping it may involve launching and killing threads.
@see Timer
*/
class JUCE_API HighResolutionTimer
{
protected:

View file

@ -48,7 +48,7 @@
structure is very similar to the Timer class, but contains multiple timers
internally, each one identified by an ID number.
@see MultiTimer
@see HighResolutionTimer, MultiTimer
*/
class JUCE_API Timer
{