VTIL_RegisterObjectPool
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long VTIL_RegisterObjectPool(dbNode workingSetMaster, char[] objectPoolPath[], char[] versionLabel); // form 1long VTIL_RegisterObjectPool(dword addressWorkingSetMaster, char[] objectPoolPath[], char[] versionLabel); // form 2long VTIL_RegisterObjectPool(dbNode vt, dbNode workingSetMaster, char[] objectPoolPath[], char[] versionLabel); // form 3long VTIL_RegisterObjectPool(dbNode vt, dword addressWorkingSetMaster, char[] objectPoolPath[], char[] versionLabel); // form 4
Description
Registers an object pool file (iop). A registered object pool can be loaded via the Load Version command. For more information see chapter Save Object Pools in VT Storage.Parameters
- vt: VT simulation node to apply the function
- workingSetMaster: Working Set Master to which the Object Pool belongs
- addressWorkingSetMaster: Address of the Working Set Master to which the Object Pool belongs
- objectPoolPath: Path of an object pool file (*.iop). Path has to be absolute or relative relating to the folder of the CANoe configuration.
- versionLabel: The Virtual Terminal IL stores the object pool with this label
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code