JUCE  v5.1.1-3-g1a0b28c73
JUCE API
ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType > Class Template Reference

Iterates the listeners in a ListenerList. More...

#include <juce_ListenerList.h>

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

Public Member Functions

 Iterator (const ListType &listToIterate) noexcept
 
 ~Iterator () noexcept
 
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>
class 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 >
ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::Iterator ( const ListType &  listToIterate)
inlinenoexcept

◆ ~Iterator()

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

Member Function Documentation

◆ getListener()

template<class ListenerClass, class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType , class ListType >
ListType::ListenerType* 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 ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::next ( )
inlinenoexcept

◆ next() [2/2]

template<class ListenerClass, class ArrayType = Array<ListenerClass*>>
template<class BailOutCheckerType , class ListType >
bool 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 ListenerList< ListenerClass, ArrayType >::Iterator< BailOutCheckerType, ListType >::index
private

◆ list

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

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