JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
juce::detail::MouseInputSourceList Class Reference
Inheritance diagram for juce::detail::MouseInputSourceList:
juce::Timer

Public Member Functions

MouseInputSourceaddSource (int index, MouseInputSource::InputSourceType type)
 
MouseInputSourcegetMouseSource (int index) noexcept
 
MouseInputSourcegetOrCreateMouseInputSource (MouseInputSource::InputSourceType type, int touchIndex=0)
 
int getNumDraggingMouseSources () const noexcept
 
MouseInputSourcegetDraggingMouseSource (int index) noexcept
 
void beginDragAutoRepeat (int interval)
 
void timerCallback () override
 The user-defined callback routine that actually gets called periodically.
 
- Public Member Functions inherited from juce::Timer
virtual ~Timer ()
 Destructor.
 
void startTimer (int intervalInMilliseconds) noexcept
 Starts the timer and sets the length of interval required.
 
void startTimerHz (int timerFrequencyHz) noexcept
 Starts the timer with an interval specified in Hertz.
 
void stopTimer () noexcept
 Stops the timer.
 
bool isTimerRunning () const noexcept
 Returns true if the timer is currently running.
 
int getTimerInterval () const noexcept
 Returns the timer's interval.
 

Public Attributes

OwnedArray< MouseInputSourceImplsources
 
Array< MouseInputSourcesourceArray
 

Additional Inherited Members

- Static Public Member Functions inherited from juce::Timer
static void JUCE_CALLTYPE callAfterDelay (int milliseconds, std::function< void()> functionToCall)
 Invokes a lambda after a given number of milliseconds.
 
static void JUCE_CALLTYPE callPendingTimersSynchronously ()
 For internal use only: invokes any timers that need callbacks.
 
- Protected Member Functions inherited from juce::Timer
 Timer () noexcept
 Creates a Timer.
 
 Timer (const Timer &) noexcept
 Creates a copy of another timer.
 

Detailed Description

Definition at line 29 of file juce_MouseInputSourceList.h.

Constructor & Destructor Documentation

◆ MouseInputSourceList()

juce::detail::MouseInputSourceList::MouseInputSourceList ( )

Definition at line 32 of file juce_MouseInputSourceList.h.

Member Function Documentation

◆ addSource()

MouseInputSource * juce::detail::MouseInputSourceList::addSource ( int  index,
MouseInputSource::InputSourceType  type 
)

Definition at line 43 of file juce_MouseInputSourceList.h.

◆ beginDragAutoRepeat()

void juce::detail::MouseInputSourceList::beginDragAutoRepeat ( int  interval)

Definition at line 113 of file juce_MouseInputSourceList.h.

◆ getDraggingMouseSource()

MouseInputSource * juce::detail::MouseInputSourceList::getDraggingMouseSource ( int  index)
noexcept

Definition at line 95 of file juce_MouseInputSourceList.h.

◆ getMouseSource()

MouseInputSource * juce::detail::MouseInputSourceList::getMouseSource ( int  index)
noexcept

Definition at line 52 of file juce_MouseInputSourceList.h.

◆ getNumDraggingMouseSources()

int juce::detail::MouseInputSourceList::getNumDraggingMouseSources ( ) const
noexcept

Definition at line 84 of file juce_MouseInputSourceList.h.

◆ getOrCreateMouseInputSource()

MouseInputSource * juce::detail::MouseInputSourceList::getOrCreateMouseInputSource ( MouseInputSource::InputSourceType  type,
int  touchIndex = 0 
)

Definition at line 58 of file juce_MouseInputSourceList.h.

◆ timerCallback()

void juce::detail::MouseInputSourceList::timerCallback ( )
overridevirtual

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 juce::Timer.

Definition at line 126 of file juce_MouseInputSourceList.h.

Member Data Documentation

◆ sourceArray

Array<MouseInputSource> juce::detail::MouseInputSourceList::sourceArray

Definition at line 147 of file juce_MouseInputSourceList.h.

◆ sources

OwnedArray<MouseInputSourceImpl> juce::detail::MouseInputSourceList::sources

Definition at line 146 of file juce_MouseInputSourceList.h.


The documentation for this class was generated from the following files: