Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Creating a Signal using ISignalCBFactory

Creating a signal using ISignalCBFactory

Single-threaded processes can use ISignalCBFactory_CreateSignal() to create a signal. Multithreaded processes can use ISignalFactory_CreateSignal() to create signals.

Note: ISignalCBFactory is not safe in a multithreaded application. It does not maintain an object reference.

The sample code uses the ISignalCBFactory interface and includes AEEISignalCBFactory.h, which is located in the platform\system\inc directory in the Brew MP SDK.

For information on adding a signal to a signalbus, see Adding a signal to a signalbus.