aclmdlBundleGetModelNum

Description

Obtains the number of executable models based on the bundle ID.

Prototype

aclError aclmdlBundleGetModelNum(uint32_t bundleId, size_t *modelNum)

Command-Line Options

Parameter

Input/Output

Description

bundleId

Input

Bundle ID returned after a model is successfully loaded by calling aclmdlBundleLoadFromFile or aclmdlBundleLoadFromMem.

modelNum

Output

Number of executable models.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.