The ProcessingModuleFactoryInterface class defines requirements for creating a processing module controllable by the ADSP System.
More...
#include <processing_module_factory_interface.h>
The ProcessingModuleFactoryInterface class defines requirements for creating a processing module controllable by the ADSP System.
◆ Create()
Creates a ProcessingModuleInstance instance in the given placeholder.
The custom implementation of the Create method is expected to handle initialization of the custom module instances.
- Note
- The ADSP System will provide a dedicated memory placeholder for every module instance to create.
- Parameters
-
| [in] | system_agent | the SystemAgentInterface object which can register the module instance which is being initialized |
| [in] | module_placeholder | the pointer to the memory location where the module instance can be initialized using the "new placement syntax". Note that the size of the placeholder given by the System is worth the size of the processing module class given as parameter of the DECLARE_LOADABLE_MODULE macro |
| [in] | initial_settings | initial settings for module startup. |
| [out] | pins_info | will report the IoPinsInfo data that ADSP System requires to bind the input and output streams to the module. |
- Returns
- some ErrorCode value upon creation status.
◆ GetPrerequisites()
Indicates the prerequisites for module instance creation.
ADSP System calls this method before each module instance creation.
- Parameters
-
| [out] | module_prereqs | reports module prerequisites that ADSP System needs to prepare the module creation. |
The documentation for this class was generated from the following file: