linuxsampler 2.3.1
EventListeners.h File Reference
#include <vector>
#include "common/global.h"

Go to the source code of this file.

Classes

class  LinuxSampler::ListenerList< L >
 
class  LinuxSampler::ChannelCountListener
 This class is used as a listener, which is notified when the number of sampler channels is changed. More...
 
class  LinuxSampler::ChannelCountAdapter
 This class exists as convenience for creating listener objects. More...
 
class  LinuxSampler::AudioDeviceCountListener
 This class is used as a listener, which is notified when the number of audio output devices is changed. More...
 
class  LinuxSampler::MidiDeviceCountListener
 This class is used as a listener, which is notified when the number of MIDI input devices is changed. More...
 
class  LinuxSampler::MidiPortCountListener
 This class is used as a listener, which is notified when the number of MIDI input ports is changed. More...
 
class  LinuxSampler::MidiInstrumentCountListener
 This class is used as a listener, which is notified when the number of MIDI instruments on a particular MIDI instrument map is changed. More...
 
class  LinuxSampler::MidiInstrumentInfoListener
 This class is used as a listener, which is notified when a MIDI instrument in a MIDI instrument map is changed. More...
 
class  LinuxSampler::MidiInstrumentMapCountListener
 This class is used as a listener, which is notified when the number of MIDI instrument maps is changed. More...
 
class  LinuxSampler::MidiInstrumentMapInfoListener
 This class is used as a listener, which is notified when the settings of a MIDI instrument map are changed. More...
 
class  LinuxSampler::FxSendCountListener
 This class is used as a listener, which is notified when the number of effect sends on a particular sampler channel is changed. More...
 
class  LinuxSampler::VoiceCountListener
 This class is used as a listener, which is notified when the number of active voices in a particular sampler channel is changed. More...
 
class  LinuxSampler::StreamCountListener
 This class is used as a listener, which is notified when the number of active disk streams in a particular sampler channel is changed. More...
 
class  LinuxSampler::BufferFillListener
 This class is used as a listener, which is notified when the fill state of the disk stream buffers on a particular sampler channel is changed. More...
 
class  LinuxSampler::TotalStreamCountListener
 This class is used as a listener, which is notified when the total number of active streams is changed. More...
 
class  LinuxSampler::TotalVoiceCountListener
 This class is used as a listener, which is notified when the total number of active voices is changed. More...
 
class  LinuxSampler::EngineChangeListener
 This class is used as a listener, which is notified when the engine type of a particular sampler channel is changed. More...
 

Namespaces

namespace  LinuxSampler
 

Macros

#define REGISTER_FIRE_EVENT_METHOD(method)
 
#define REGISTER_FIRE_EVENT_METHOD_ARG1(method, T1)
 
#define REGISTER_FIRE_EVENT_METHOD_ARG2(method, T1, T2)
 

Macro Definition Documentation

◆ REGISTER_FIRE_EVENT_METHOD

#define REGISTER_FIRE_EVENT_METHOD (   method)
Value:
virtual void method() \
{ for(int i = 0; i < GetListenerCount(); i++) GetListener(i)->method(); }

Definition at line 85 of file EventListeners.h.

◆ REGISTER_FIRE_EVENT_METHOD_ARG1

#define REGISTER_FIRE_EVENT_METHOD_ARG1 (   method,
  T1 
)
Value:
virtual void method(T1 _evt_arg1_) \
{ for(int i = 0; i < GetListenerCount(); i++) GetListener(i)->method(_evt_arg1_); }

Definition at line 88 of file EventListeners.h.

◆ REGISTER_FIRE_EVENT_METHOD_ARG2

#define REGISTER_FIRE_EVENT_METHOD_ARG2 (   method,
  T1,
  T2 
)
Value:
virtual void method(T1 _evt_arg1_, T2 _evt_arg2_) \
{ for(int i = 0; i < GetListenerCount(); i++) GetListener(i)->method(_evt_arg1_, _evt_arg2_); }

Definition at line 91 of file EventListeners.h.