JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType > Struct Template Reference

Iterates the listeners in a ListenerList. More...

#include <juce_ListenerList.h>

Collaboration diagram for juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >:

Public Member Functions

 Iterator (const ListType &listToIterate) noexcept
 
 ~Iterator ()=default
 
ListType::ListenerType * getListener () const noexcept
 
bool next () noexcept
 
bool next (const BailOutCheckerType &bailOutChecker) noexcept
 

Private Attributes

int index
 
const ListType & list
 

Detailed Description

template<class ListenerClass, class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType, class ListType>
struct juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >

Iterates the listeners in a ListenerList.

Constructor & Destructor Documentation

◆ Iterator()

template<class ListenerClass , class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType , class ListType >
juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::Iterator ( const ListType &  listToIterate)
inlinenoexcept

◆ ~Iterator()

template<class ListenerClass , class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType , class ListType >
juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::~Iterator ( )
default

Member Function Documentation

◆ getListener()

template<class ListenerClass , class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType , class ListType >
ListType::ListenerType* juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::getListener ( ) const
inlinenoexcept

◆ next() [1/2]

template<class ListenerClass , class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType , class ListType >
bool juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::next ( )
inlinenoexcept

◆ next() [2/2]

template<class ListenerClass , class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType , class ListType >
bool juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::next ( const BailOutCheckerType &  bailOutChecker)
inlinenoexcept

Member Data Documentation

◆ index

template<class ListenerClass , class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType , class ListType >
int juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::index
private

◆ list

template<class ListenerClass , class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType , class ListType >
const ListType& juce::ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::list
private

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