UtiLite  0.3.1
A lite utilities library
Private Member Functions
UAudioPlayerTone Class Reference

#include <UAudioPlayerTone.h>

Inherits UAudioPlayer, and UThread.

List of all members.

Private Member Functions

virtual void mainLoopBegin ()
virtual void mainLoop ()
virtual void mainLoopEnd ()

Detailed Description

This player is used to generate a tone (with variable frequency and length). It will use the DSP system of FMOD to generate a sound. It can be used with a file to repeat it after each a defined tick in ms.


Member Function Documentation

virtual void UAudioPlayerTone::mainLoop ( ) [private, virtual]

Pure virtual method mainLoop(). The inner loop of the thread. This method is called repetitively until the thread is killed. Note that if kill() is called in mainLoopBegin(), mainLoop() is not called, terminating immediately the thread.

See also:
mainLoop()
kill()

Implements UThread.

virtual void UAudioPlayerTone::mainLoopBegin ( ) [private, virtual]

Virtual method mainLoopBegin(). User can implement this function to add a behavior before the main loop is started. It is called once (before entering mainLoop()).

Reimplemented from UThread.

virtual void UAudioPlayerTone::mainLoopEnd ( ) [private, virtual]

Virtual method mainLoopEnd(). User can implement this function to add a behavior after the thread is killed (after exiting the mainLoop(), work is still done in the thread before exiting).

Reimplemented from UThread.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Friends Defines