VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
ListenerProvider< T, ListenerInterface > Struct Template Reference

Public Types

using List = DispatchList< ListenerInterface * >
 

Public Member Functions

void registerListener (ListenerInterface *listener)
 
void unregisterListener (ListenerInterface *listener)
 
template<typename Proc >
void forEachListener (Proc proc)
 
ListgetListeners ()
 
const ListgetListeners () const
 

Member Typedef Documentation

◆ List

using List = DispatchList<ListenerInterface*>

Member Function Documentation

◆ forEachListener()

void forEachListener ( Proc  proc)
inline

◆ getListeners() [1/2]

List& getListeners ( )
inline

◆ getListeners() [2/2]

const List& getListeners ( ) const
inline

◆ registerListener()

void registerListener ( ListenerInterface *  listener)
inline

◆ unregisterListener()

void unregisterListener ( ListenerInterface *  listener)
inline

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