previous next Up Title Contents

ModuleMgr Module


Most of the routines in the module should not be used directly by the user; the ModuleMgr module is used via the Do...(...) macros. Only the routines used by the user are given below. Refer to the source code for further information.

The DoFun(...) Macro

Syntax
DoFun(ROUTINE, EAROBJ)


Description
This macro facilitates the calling of a ROUTINE of the module associated with the EAOBJ EarObject. It is used with routine calls which have no arguments. Any attempt to use a routine which does not exists for a module will result in the CRL returning an error message.


Returns
- as for the respective module routine.


Example(s)
Examples/AudPerGen.c

The DoFun1(...) Macro

Syntax
DoFun1(ROUTINE, EAROBJ, ARG)


Description
This macro facilitates the calling of a ROUTINE of the module associated with the EAOBJ EarObject. It is used with routine calls which have one argument, ARG. Any attempt to use a routine which does not exists for a module will result in the CRL returning an error message.


Returns
- as for the respective module routine.


Example(s)
Examples/AudPerGen.c

The DoFun2(...) Macro

Syntax
DoFun2(ROUTINE, EAROBJ, ARG1, ARG2)


Description
This macro facilitates the calling of a ROUTINE of the module associated with the EAOBJ EarObject. It is used with routine calls which have two arguments, ARG1 and ARG2. Any attempt to use a routine which does not exists for a module will result in the CRL returning an error message.


Returns
- as for the respective module routine.


Example(s)
Tests/Models/Basilar M/Generic/QvsFrequency.c

The DoFun?(...) Macro

There are similar macros as above for up to six arguments.

The DoProcess(...) Macro

Syntax
DoProcess(ROUTINE, EAROBJ)


Description
This macro facilitates the calling of a process ROUTINE of the module associated with the EAOBJ EarObject. It is a special macro to be used with process routine calls, such as GenerateSignal and RunModel. Any attempt to use a routine which does not exist for a module will result in the CRL returning an error message (unless otherwise specified).


Returns
- as for the respective module routine.


Example(s)
Examples/AudPerGen.c


previous next Up Title Contents