ro
- simple
DemoThis demo is an example of loading and using dynamic modules.
None.
None.
This demo does not display anything on the screen. The only output is debugger output.
The demo loads the dynamic modules Module
and Module2
, and calls the Module
function Test
. Test
then internally calls the Module2
function Module2Func
. The references for both Test
and Module2Func
are resolved automatically when the dynamic modules are loaded.
Module
contains global object definitions and the definitions for the nninitStaticInit
, nnroProlog
and nnroEpilog
functions. These functions are also called when calling the nn::ro::Module::DoInitialize
and nn::ro::Module::DoFinalize
functions.
Module
also contains the nnroUnresolved
function definition. Calling the Test
function again after unloading Module2
causes the internal call to Module2Func
to be changed to a call to nnroUnresolved
.
NN_LOG
is called from each dynamic module, but the instance is in a static module and the reference is resolved automatically when each module is loaded.
CONFIDENTIAL