download classFuncs.h
Language: C++
Copyright: (c) 1999-2005 The MusicKit Project.
LOC: 16
Project Info
The MusicKit(musickit)
Server: SourceForge
Type: cvs
...sicKit\Frameworks\MusicKit\
   _ArielQP.h
   _DSPMK.h
   _error.h
   _midi.h
   _MKAppProxy.h
   _MKAppProxy.m
   _MKNameTable.h
   _MKNameTable.m
   _MKParameter.h
   _MTCHelper.h
   _MTCHelper.m
   _musickit.h
   _noteRecorder.h
   _OrchloopbeginUG.h
   _OrchloopbeginUG.m
   _ParName.h
   _ParName.m
   _scorefile.h
   _ScorefileVar.h
   _ScorefileVar.m
   _SharedSynthInfo.h
   _SharedSynthInfo.m
   _synthElementMethods.m
   _time.h
   ArielQP.h
   ArielQP.m
   classFuncs.h
   ConductorPrivate.h
   dsp_types.h
   DSPSerialPortDevice.h
   dspwrap.h
   EnvelopePrivate.h
   equalTempered.m
   errors.h
   fastFFT.c
   fastFFT.h
   GNUmakefile.postamble
   GNUmakefile.preamble.in
   InstrumentPrivate.h
   keynums.h
   libMusicKit.def
   Localized.strings
   make.sh
   Makefile.postamble
   Makefile.preamble
   midi_spec.h
   midifile.h
   midifile.m
   MidiPrivate.h
   midiTranslation.h
   MKConductor.h
   MKConductor.m
   MKConductorDelegate.h
   MKDeviceStatus.h
   MKEnvelope.h
   MKEnvelope.m
   MKFilePerformer.h
   MKFilePerformer.m
   MKFileWriter.h
   MKFileWriter.m
   MKInstrument.h
   MKInstrument.m
   MKMidi.h
   MKMidi.m
   MKMixerInstrument.h
   MKMixerInstrument.m
   MKMTCPerformer.h
   MKMTCPerformer.m
   MKNote.h
   MKNoteFilter.h
   MKNoteFilter.m
   MKNoteReceiver.h
   MKNoteReceiver.m
   MKNoteSender.h
   MKNoteSender.m
   MKOrchestra.h
   MKPart.m
   MKPartials.h
   MKPartials.m
   ...tialsWaveshapingTable.m
   MKPartPerformer.h
   MKPartPerformer.m
   MKPartRecorder.h
   MKPartRecorder.m
   MKPatch.h
   MKPatch.m
   MKPatchConnection.h
   MKPatchConnection.m
   MKPatchEntry.h
   MKPatchEntry.m
   MKPatchTemplate.h
   MKPatchTemplate.m
   MKPerformer.h
   MKPerformer.m
   MKPerformerDelegate.h
   MKPlugin.h
   MKSamplerInstrument.h
   MKSamplerInstrument.m
   MKSamples.h
   MKScore.h
   MKScore.m
   MKScorefileObject.h
   MKScorefilePerformer.h
   MKScorefilePerformer.m
   MKScorefileWriter.m
   MKScorePerformer.h
   MKScorePerformer.m
   MKScoreRecorder.h
   MKScoreRecorder.m
   MKSynthData.h
   MKSynthData.m
   MKSynthInstrument.h
   MKSynthPatch.h
   MKTimbre.h
   MKTimbre.m
   MKTuningSystem.h
   MKTuningSystem.m
   MKUnitGenerator.h
   MKUnitGenerator.m
   MKWaveTable.h
   MKWaveTable.m
   mtcMidi.m
   mtcMidiPrivate.m
   MusicKit-Info.plist
   MusicKit.h
   MusicKitConfig.h.in
   names.h
   noDVal.h
   noteDispatcherMethods.m
   NotePrivate.h
   noteRecorderCFuncs.m
   noteRecorderMethods.m
   orch.h
   OrchestraPrivate.h
   OrchloopbeginUG.h
   OrchloopbeginUG.m
   orchloopbeginUGInclude.m
   params.h
   parNames.m
   partialsDBInclude.m
   PartialsPrivate.h
   PartPerformerPrivate.h
   PartPrivate.h
   PartRecorderPrivate.h
   PatchTemplatePrivate.h
   PB.project
   PerformerPrivate.h
   pitches.h
   platform.make
   ...efilePerformerPrivate.h
   ScorePerformerPrivate.h
   ScorePrivate.h
   ScoreRecorderPrivate.h
   SynthDataPrivate.h
   synthElementCFuncs.m
   synthElementMethods.m
   SynthInstrumentPrivate.h
   SynthPatchList.h
   SynthPatchList.m
   SynthPatchPrivate.h
   timetagInclude.m
   timeunits.h
   tokenNames.m
   tokens.h
   trigonometry.c
   trigonometry.h
   TuningSystemPrivate.h
   UnitGeneratorPrivate.h
   win32-def.top
   writeBinary.m
   writeMidi.m
   writeScore.m

/*
  $Id: classFuncs.h,v 1.6 2005/05/22 07:34:06 leighsmith Exp $
  Defined In: The MusicKit

  Portions Copyright (c) 1999-2005 The MusicKit Project.
*/
#ifndef __MK_classFuncs_H___
#define __MK_classFuncs_H___
#ifndef CLASSFUNCS_H
#define CLASSFUNCS_H

/*!
  @defgroup ScorefileCreationFns Set and retrieve scorefile creation classes. Control of MusicKit-created objects. 
 */

/*@{*/

/*!
  @brief When reading a scorefile, processing MIDI, etc., the MusicKit creates
  MKNote objects. Use MKSetNoteClass() to substitute your own MKNote subclass.

  When you read a scorefile into your application, some number of objects
  are automatically created.  Specifically, these objects are instances of
  MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples.  You can supply your
  own classes from which these instances are created through these
  functions.  The one restriction is that the class that you set must be a
  subclass of the original class; for example, the class that you pass the
  argument to <b>MKSetNoteClass()</b> must be a subclass of MKNote.
  This function does not effect objects returned by [MKNote new]; these are
  instances of the MKNote class, as usual.
     
  The <b>MKGet<i>Class</i>Class()</b> functions return the requested
  classes as set through the  functions above.
  @param  noteSubclass is a MKNote.
  @return <b>MKSet<i>Class</i>Class()</b> returns NO if the argument isn't a
   subclass of <b><i>Class</i></b>; otherwise it returns YES.
*/
extern BOOL MKSetNoteClass(id noteSubclass);

/*@
  @brief Returns class set with MKSetNoteClass() or [MKNote class] if none. 
 */
extern id MKGetNoteClass(void);

/*!
  @brief Similar to MKSetNoteClass() for MKParts.

  When you read a scorefile into your application, some number of objects
  are automatically created.  Specifically, these objects are instances of
  MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples.  You can supply your
  own classes from which these instances are created through these
  functions.  The one restriction is that the class that you set must be a
  subclass of the original class; for example, the class that you pass the
  argument to <b>MKSetNoteClass()</b> must be a subclass of MKNote.
     
  The <b>MKGet<i>Class</i>Class() </b>functions return the requested
  classes as set through the  functions above.
  @param  partSubclass is a MKPart instance.
  @return <b>MKSet<i>Class</i>Class()</b> returns NO if the argument isn't a
   subclass of <b><i>Class</i></b>; otherwise it returns YES.
*/
extern BOOL MKSetPartClass(id partSubclass);

/*!
  @brief Similar to MKSetNoteClass() for MKEnvelopes.

  When you read a scorefile into your application, some number of objects
  are automatically created.  Specifically, these objects are instances of
  MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples.  You can supply your
  own classes from which these instances are created through these
  functions.  The one restriction is that the class that you set must be a
  subclass of the original class; for example, the class that you pass the
  argument to <b>MKSetNoteClass()</b> must be a subclass of MKNote.
     
  @param  envelopeSubclass is a MKEnvelope instance.
  @return <b>MKSet<i>Class</i>Class()</b> returns NO if the argument isn't a
 subclass of <b><i>Class</i></b>; otherwise it returns YES.

*/
extern BOOL MKSetEnvelopeClass(id envelopeSubclass);

/*!
  @brief Similar to MKSetNoteClass() for MKPartials.

  When you read a scorefile into your application, some number of objects
  are automatically created.  Specifically, these objects are instances of
  MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples.  You can supply your
  own classes from which these instances are created through these
  functions.  The one restriction is that the class that you set must be a
  subclass of the original class; for example, the class that you pass the
  argument to <b>MKSetNoteClass()</b> must be a subclass of MKNote.
     
  @param  aPartialsSubclass is a MKPartials instance.
  @return <b>MKSet<i>Class</i>Class()</b> returns NO if the argument isn't a
  subclass of <b><i>Class</i></b>; otherwise it returns YES.
*/
extern BOOL MKSetPartialsClass(id aPartialsSubclass);

/*!
  @brief Set and retrieve scorefile creation classes

  When you read a scorefile into your application, some number of objects
  are automatically created.  Specifically, these objects are instances of
  MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples.  You can supply your
  own classes from which these instances are created through these
  functions.  The one restriction is that the class that you set must be a
  subclass of the original class; for example, the class that you pass the
  argument to <b>MKSetNoteClass()</b> must be a subclass of MKNote.
     
  @param  aSamplesSubclass is a MKSamples.
  @return <b>MKSet<i>Class</i>Class()</b> returns NO if the argument isn't a
  subclass of <b><i>Class</i></b>; otherwise it returns YES.
*/
extern BOOL MKSetSamplesClass(id aSamplesSubclass);

/*!
  @brief Similar to MKGetNoteClass() for MKParts.
 
 When you read a scorefile into your application, some number of objects
 are automatically created.  Specifically, these objects are instances of
 MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples.  You can supply your
 own classes from which these instances are created through these
 functions.  The one restriction is that the class that you set must be a
 subclass of the original class; for example, the class that you pass the
 argument to <b>MKSetNoteClass()</b> must be a subclass of MKNote.
 
 The <b>MKGet<i>Class</i>Class()</b> functions return the requested
  classes as set through the functions above.
 @return Returns an id.
 */
extern id MKGetPartClass(void);

/*!
  @brief Similar to MKGetNoteClass() for MKEnvelopes.
 
 When you read a scorefile into your application, some number of objects
 are automatically created.  Specifically, these objects are instances of
 MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples.  You can supply your
 own classes from which these instances are created through these
 functions.  The one restriction is that the class that you set must be a
 subclass of the original class; for example, the class that you pass the
 argument to <b>MKSetNoteClass()</b> must be a subclass of MKNote.
 
 The <b>MKGet<i>Class</i>Class()</b> functions return the requested
 classes as set through the functions above.
 @return Returns an id.
 */
extern id MKGetEnvelopeClass(void);

/*!
  @brief Similar to MKGetNoteClass() for MKPartials.
 
 When you read a scorefile into your application, some number of objects
 are automatically created.  Specifically, these objects are instances of
 MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples.  You can supply your
 own classes from which these instances are created through these
 functions.  The one restriction is that the class that you set must be a
 subclass of the original class; for example, the class that you pass the
 argument to <b>MKSetNoteClass()</b> must be a subclass of MKNote.
 
 The <b>MKGet<i>Class</i>Class()</b> functions return the requested
 classes as set through the functions above.
 @return Returns an id.
 */
extern id MKGetPartialsClass(void);

/*!
 @brief Similar to MKGetNoteClass() for MKSamples.
 
 When you read a scorefile into your application, some number of objects
 are automatically created.  Specifically, these objects are instances of
 MKNote, MKPart, MKEnvelope, MKPartials, and MKSamples.  You can supply your
 own classes from which these instances are created through these
 functions.  The one restriction is that the class that you set must be a
 subclass of the original class; for example, the class that you pass the
 argument to <b>MKSetNoteClass()</b> must be a subclass of MKNote.
 
 The <b>MKGet<i>Class</i>Class()</b> functions return the requested
 classes as set through the functions above.
 @return Returns an id.
 */
extern id MKGetSamplesClass(void);

/*@}*/

#endif /* CLASSFUNCS_H */
#endif

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us