A.2.3. CADIBroker::GetSimulationFactories()

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;

where:

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.

Copyright © 2008-2014 ARM. All rights reserved.ARM DUI 0444M
Non-ConfidentialID051314