Regular API function

simGetModuleName

Description Retrieves a plugin name that was previously registered with simLoadModule. The simulator normally automatically loads and registers plugins present in the application directory. Users can use the simGetModuleName to verify if a specific module is present
C synopsis simChar* simGetModuleName(simInt index,sumUChar* moduleVersion)
C parameters
index: index to a module. To list-up all module names, start with index=0 and increment index until return value is NULL
moduleVersion: version of the plugin. Can be NULL.
C return value
Name of the module or NULL if no module is available at index position, or in case of an error. The user is in charge of destroying the returned name with simReleaseBuffer
Lua synopsis string moduleName,number moduleVersion=simGetModuleName(number index)
Lua parameters
index: index to a module. To list-up all module names, start with index=0 and increment index until return value is nil
Lua return values
moduleName: name of the module or nil if no module is available at that index position, or in case of an error.
moduleVersion: version of the plugin, or nil if moduleName is also nil

All regular API functions on one page