Module driver

Library for handling drivers, which are a secure way of accessing components

Functions

changeDriver (type, addr, string) Force the component with given address and type to use the driver found at 'path'
getDriver (type) Gets an arbitrarily chosen driver of the given type


Functions

changeDriver (type, addr, string)
Force the component with given address and type to use the driver found at 'path'

Parameters:

  • type string The type of the component
  • addr string The UUID address of the component
  • string path The file path of the driver to load
getDriver (type)
Gets an arbitrarily chosen driver of the given type

Parameters:

  • type string The type of the drievr to get

Returns:

    optional driver The loaded driver or nil if none found
generated by LDoc 1.4.6 Last updated 2021-12-27 19:58:59