// ---- auto generated by YInG - the YAC interface generator (Fri, 17/May/2019 20:55:30)
#ifndef __YAC__tksampler_h__
#define __YAC__tksampler_h__

sUI                                          clid_StADSR;
YAC_Template <StADSR>                          *t_StADSR;
sUI                                          clid_StEnvelope;
YAC_Template <StEnvelope>                      *t_StEnvelope;
sUI                                          clid_StFFT_BandParams;
YAC_Template <StFFT_BandParams>                *t_StFFT_BandParams;
sUI                                          clid_StFFT;
YAC_Template <StFFT>                           *t_StFFT;
sUI                                          clid_StLFO;
YAC_Template <StLFO>                           *t_StLFO;
sUI                                          clid_StLFOPlayer;
YAC_Template <_StLFOPlayer>                    *t_StLFOPlayer;
sUI                                          clid_StRange;
YAC_Template <StRange>                         *t_StRange;
sUI                                          clid_StSample;
YAC_Template <StSample>                        *t_StSample;
sUI                                          clid_StSampleBank;
YAC_Template <StSampleBank>                    *t_StSampleBank;
sUI                                          clid_StSampleMutexGroup;
YAC_Template <StSampleMutexGroup>              *t_StSampleMutexGroup;
sUI                                          clid_StSamplePlayer;
YAC_Template <StSamplePlayer>                  *t_StSamplePlayer;
sUI                                          clid_StSampleVoice;
YAC_Template <StSampleVoice>                   *t_StSampleVoice;
sUI                                          clid_StWaveform;
YAC_Template <StWaveform>                      *t_StWaveform;

void YAC_CALL YAC_Init_tksampler(YAC_Host *_host) {
	// --------------------------------- classes ---------------------------------
	   t_StADSR                   =new YAC_Template <StADSR>(_host);
	clid_StADSR                   =                t_StADSR->ctemplate.class_ID;
	   t_StEnvelope               =new YAC_Template <StEnvelope>(_host);
	clid_StEnvelope               =                t_StEnvelope->ctemplate.class_ID;
	   t_StFFT_BandParams         =new YAC_Template <StFFT_BandParams>(_host);
	clid_StFFT_BandParams         =                t_StFFT_BandParams->ctemplate.class_ID;
	   t_StFFT                    =new YAC_Template <StFFT>(_host);
	clid_StFFT                    =                t_StFFT->ctemplate.class_ID;
	   t_StLFO                    =new YAC_Template <StLFO>(_host);
	clid_StLFO                    =                t_StLFO->ctemplate.class_ID;
	   t_StLFOPlayer              =new YAC_Template <_StLFOPlayer>(_host);
	clid_StLFOPlayer              =                t_StLFOPlayer->ctemplate.class_ID;
	   t_StRange                  =new YAC_Template <StRange>(_host);
	clid_StRange                  =                t_StRange->ctemplate.class_ID;
	   t_StSample                 =new YAC_Template <StSample>(_host);
	clid_StSample                 =                t_StSample->ctemplate.class_ID;
	   t_StSampleBank             =new YAC_Template <StSampleBank>(_host);
	clid_StSampleBank             =                t_StSampleBank->ctemplate.class_ID;
	   t_StSampleMutexGroup       =new YAC_Template <StSampleMutexGroup>(_host);
	clid_StSampleMutexGroup       =                t_StSampleMutexGroup->ctemplate.class_ID;
	   t_StSamplePlayer           =new YAC_Template <StSamplePlayer>(_host);
	clid_StSamplePlayer           =                t_StSamplePlayer->ctemplate.class_ID;
	   t_StSampleVoice            =new YAC_Template <StSampleVoice>(_host);
	clid_StSampleVoice            =                t_StSampleVoice->ctemplate.class_ID;
	   t_StWaveform               =new YAC_Template <StWaveform>(_host);
	clid_StWaveform               =                t_StWaveform->ctemplate.class_ID;
	// -------------------------------- functions --------------------------------

}

void YAC_CALL YAC_Exit_tksampler(YAC_Host *_host) {
	delete t_StADSR;
	delete t_StEnvelope;
	delete t_StFFT;
	delete t_StFFT_BandParams;
	delete t_StLFO;
	delete t_StLFOPlayer;
	delete t_StRange;
	delete t_StSample;
	delete t_StSampleBank;
	delete t_StSampleMutexGroup;
	delete t_StSamplePlayer;
	delete t_StSampleVoice;
	delete t_StWaveform;
}

#endif
