LinuxSampler::ListenerList< L > Class Template Reference

#include <EventListeners.h>

List of all members.

Public Member Functions

void AddListener (L l)
 Registers the specified listener for receiving event messages.
void RemoveListener (L l)
 Removes the specified listener.
void RemoveAllListeners ()
 Removes all listeners.
int GetListenerCount ()
 Gets the number of the registered listeners.
GetListener (int index)
 Gets the listener at the specified position.

Detailed Description

template<class L>
class LinuxSampler::ListenerList< L >

Definition at line 35 of file EventListeners.h.


Member Function Documentation

template<class L>
void LinuxSampler::ListenerList< L >::AddListener ( l  )  [inline]

Registers the specified listener for receiving event messages.

Definition at line 40 of file EventListeners.h.

template<class L>
L LinuxSampler::ListenerList< L >::GetListener ( int  index  )  [inline]

Gets the listener at the specified position.

Parameters:
index The position of the listener to return.

Definition at line 76 of file EventListeners.h.

template<class L>
int LinuxSampler::ListenerList< L >::GetListenerCount (  )  [inline]

Gets the number of the registered listeners.

Definition at line 68 of file EventListeners.h.

template<class L>
void LinuxSampler::ListenerList< L >::RemoveAllListeners (  )  [inline]

Removes all listeners.

Definition at line 61 of file EventListeners.h.

template<class L>
void LinuxSampler::ListenerList< L >::RemoveListener ( l  )  [inline]

Removes the specified listener.

Definition at line 47 of file EventListeners.h.


The documentation for this class was generated from the following file:
Generated on Sat Jan 28 11:44:01 2012 for linuxsampler by  doxygen 1.6.3