Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
This function exports parameters and procedures of the DMPACK API to
the given Lua environment lua.
By default, all parameters and procedures are registered. The export
of error codes, log levels, and procedures may be disabled through
the dummy arguments.
All DMPACK error codes are exported, starting from E_NONE, if
errors is not .false..
The following log level parameters are injected if log_levels is
not .false.:
LL_NONE
LL_DEBUG
LL_INFO
LL_WARNING
LL_ERROR
LL_CRITICAL
LL_USER
The following Lua procedures are registered if procedures is not
.false.:
deg2gon(deg)
deg2rad(deg)
gon2deg(gon)
gon2rad(gon)
rad2deg(rad)
rad2gon(rad)
The following response type parameters are injected if
response_types is not .false.:
RESPONSE_TYPE_REAL64
RESPONSE_TYPE_REAL32
RESPONSE_TYPE_INT64
RESPONSE_TYPE_INT32
RESPONSE_TYPE_LOGICAL
RESPONSE_TYPE_BYTE
RESPONSE_TYPE_STRING
The following Modbus type parameters are injected if modbus_types
is .true.:
MODBUS_ACCESS_NONE
MODBUS_ACCESS_READ
MODBUS_ACCESS_WRITE
MODBUS_TYPE_NONE
MODBUS_TYPE_INT16
MODBUS_TYPE_INT32
MODBUS_TYPE_UINT16
MODBUS_TYPE_UINT32
MODBUS_TYPE_FLOAT
MODBUS_ORDER_NONE
MODBUS_ORDER_ABCD
MODBUS_ORDER_BADC
MODBUS_ORDER_CDAB
MODBUS_ORDER_DCBA
The GeoCOM API is registered through function dm_lua_geocom_register()
in module dm_lua_geocom.
This function returns E_INVALID if the Lua interpreter has not been
initialised, or E_LUA if the registration failed.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.