A.2.3 CADIBroker::GetSimulationFactories()

This method returns a list of possible simulation factories provided by this simulation broker.

This list is static for a given CADIBroker.
virtual CADIReturn_t CADIBroker::GetSimulationFactories(
                     uint32_t startFactoryIndex,
                     uint32_t desiredNumberOfFactories,
                     CADISimulationFactory **factoryList,
                     uint32_t *actualNumberOfFactories) = 0;
startFactoryIndex
is the index of first factory to return from the internal list maintained by the broker. If startFactoryIndex exceeds the maximum factory index, CADI_STATUS_IllegalArgument is returned.
desiredNumberOfFactories
is the required number of factories to return.

Caution

The factoryList array must be at least this size.
factoryList
is the array of factory pointers returned by this call. This array must be allocated by caller with a minimum size of desiredNumberOfFactories.

Note

The returned factory pointers must not be used to delete the factories. The factories are owned by the broker.
actualNumberOfFactories
is the actual number of factories returned.
Non-ConfidentialPDF file icon PDF versionARM DUI0842F
Copyright © 2014, 2015 ARM. All rights reserved.