LinuxSampler::InstrumentEditorListener Class Reference

Instrument Editor Notifications. More...

#include <InstrumentEditor.h>

List of all members.

Public Member Functions

virtual void OnInstrumentEditorQuit (InstrumentEditor *pSender)=0
 Called after the instrument editor stopped running.
virtual void OnSamplesToBeRemoved (std::set< void * > Samples, InstrumentEditor *pSender)=0
 Called before samples are to be deleted.
virtual void OnSamplesRemoved (InstrumentEditor *pSender)=0
 Called after samples have been deleted.
virtual void OnDataStructureToBeChanged (void *pStruct, String sStructType, InstrumentEditor *pSender)=0
 Called before data structure is to be modified.
virtual void OnDataStructureChanged (void *pStruct, String sStructType, InstrumentEditor *pSender)=0
 Called after data structure has been modified.
virtual void OnSampleReferenceChanged (void *pOldSample, void *pNewSample, InstrumentEditor *pSender)=0
 Called after some data structure changed its reference to a sample.

Detailed Description

Instrument Editor Notifications.

This abstract interface class has to be implemented by classes that want to be notified on certain events of an instrument editor. This is typically used on sampler side, but might also be used by an instrument editor to get informed about modifications another instrument editor makes.

Definition at line 243 of file InstrumentEditor.h.


Member Function Documentation

virtual void LinuxSampler::InstrumentEditorListener::OnDataStructureChanged ( void *  pStruct,
String  sStructType,
InstrumentEditor pSender 
) [pure virtual]

Called after data structure has been modified.

See the dispatcher method InstrumentEditor::NotifyDataStructureChanged() for details. This method has to be implemented by the descendant.

Parameters:
pStruct - data structure that has been modified
Parameters:
sStructType - name of the data structure (i.e. its C++ struct or class name)
Parameters:
pSender - instrument editor that did this modification
virtual void LinuxSampler::InstrumentEditorListener::OnDataStructureToBeChanged ( void *  pStruct,
String  sStructType,
InstrumentEditor pSender 
) [pure virtual]

Called before data structure is to be modified.

See the dispatcher method InstrumentEditor::NotifyDataStructureToBeChanged() for details. This method has to be implemented by the descendant.

Parameters:
pStruct - data structure going to be modified
Parameters:
sStructType - name of the data structure (i.e. its C++ struct or class name)
Parameters:
pSender - instrument editor that is going to do this modification
virtual void LinuxSampler::InstrumentEditorListener::OnInstrumentEditorQuit ( InstrumentEditor pSender  )  [pure virtual]

Called after the instrument editor stopped running.

Automatically called after the instrument editor application stopped running. This method has to be implemented by the descendant.

Parameters:
pSender - instrument editor that died
virtual void LinuxSampler::InstrumentEditorListener::OnSampleReferenceChanged ( void *  pOldSample,
void *  pNewSample,
InstrumentEditor pSender 
) [pure virtual]

Called after some data structure changed its reference to a sample.

InstrumentEditor::NotifySampleReferenceChanged() for details. This method has to be implemented by the descendant.

Parameters:
pOldSample - previous sample reference
Parameters:
pNewSample - current sample reference
Parameters:
pSender - instrument editor that did this modification
virtual void LinuxSampler::InstrumentEditorListener::OnSamplesRemoved ( InstrumentEditor pSender  )  [pure virtual]

Called after samples have been deleted.

See the dispatcher method InstrumentEditor::NotifySamplesRemoved() for details. This method has to be implemented by the descendant.

Parameters:
pSender - instrument editor that did this modification
virtual void LinuxSampler::InstrumentEditorListener::OnSamplesToBeRemoved ( std::set< void * >  Samples,
InstrumentEditor pSender 
) [pure virtual]

Called before samples are to be deleted.

See the dispatcher method InstrumentEditor::NotifySamplesToBeRemoved() for details. This method has to be implemented by the descendant.

Parameters:
Samples - list of samples that will be deleted by the instrument editor
Parameters:
pSender - instrument editor that is going to do this modification

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