openshot-audio  0.1.2
Public Member Functions | Public Attributes | List of all members
MultiTimerCallback Struct Reference
Inheritance diagram for MultiTimerCallback:
Timer

Public Member Functions

 MultiTimerCallback (const int tid, MultiTimer &mt) noexcept
 
void timerCallback () override
 
- Public Member Functions inherited from Timer
virtual ~Timer ()
 
void startTimer (int intervalInMilliseconds) noexcept
 
void startTimerHz (int timerFrequencyHz) noexcept
 
void stopTimer () noexcept
 
bool isTimerRunning () const noexcept
 
int getTimerInterval () const noexcept
 

Public Attributes

MultiTimerowner
 
const int timerID
 

Additional Inherited Members

- Static Public Member Functions inherited from Timer
static void JUCE_CALLTYPE callPendingTimersSynchronously ()
 
- Protected Member Functions inherited from Timer
 Timer () noexcept
 
 Timer (const Timer &) noexcept
 

Constructor & Destructor Documentation

◆ MultiTimerCallback()

MultiTimerCallback::MultiTimerCallback ( const int  tid,
MultiTimer mt 
)
inlinenoexcept

Member Function Documentation

◆ timerCallback()

void MultiTimerCallback::timerCallback ( )
inlineoverridevirtual

The user-defined callback routine that actually gets called periodically.

It's perfectly ok to call startTimer() or stopTimer() from within this callback to change the subsequent intervals.

Implements Timer.

Member Data Documentation

◆ owner

MultiTimer& MultiTimerCallback::owner

◆ timerID

const int MultiTimerCallback::timerID

The documentation for this struct was generated from the following file: