|Home > Class Reference > CADIBroker class > CADIBroker::SelectSimulation()|
This method enables connecting to the running simulation selected by the simulation identifier.
A pointer to the simulation is returned on success. If no simulation with the given ID is managed by this broker, 0 is returned.
virtual CADISimulation *CADIBroker::SelectSimulation( uint32_t simulationId, CADIErrorCallback *errorCallbackObject, CADISimulationCallback *simulationCallbackObject, char simulationCallbacksEnable[CADI_SIM_CB_Count]) = 0;
is the simulation callback object to be used for signaling model-wide conditions.
This callback might be called during execution of
SelectSimulation() to, for example, signal that the simulation wants to
The elements of this array enable or disable specific simulation callbacks. The simulation must always check if the callbacks are enabled and these must not be called if they are disabled. The callbacks might be disabled, for example, if the listener does not want to be called in certain cases.
NULLif the call fails.