FARGOS/VISTA Object Management Environment Core
..
|
Functions | |
int | VISTAOMEmain (int argc, const char **argv, const char **envp=nullptr) |
Library main entry point. More... | |
int | OMEinitSystem (const char *rcFileName, int argc=0, const char **argv=nullptr, const char **envp=nullptr) |
Standard initialization routine for FARGOS/VISTA Object Management Environment. More... | |
int | OMEmainLoop (uint_fast32_t methodLimit=20000) |
Run method invocations and handle events, such as input available and timer expiration. More... | |
int OMEinitSystem | ( | const char * | rcFileName, |
int | argc = 0 , |
||
const char ** | argv = nullptr , |
||
const char ** | envp = nullptr |
||
) |
Standard initialization routine for FARGOS/VISTA Object Management Environment.
rcFileName | identifies the name of an boot script file to be processed via CreateObjects. |
argc | is a count of the arguments in the argv array. |
argv | is an array of null-terminated C strings, corresponding to the arguments to the program. Subscript 0 holds the name used to invoke the program. |
envp | is an array of null-terminated C string, which hold the initial set of process environment variables. |
The OMEinitSystem() function calls various initialization routines and then creates the special ObjectCreator object. To complete the boot process, a CreateObjects object is created and provided the rcFileName argument.
The actual execution of the system does not take place within this initialization routine. Instead, OMEmainLoop() or an equivalent must be called to enable the execution of method invocations.
0 | indicates successful initialization. |
-1 | indicates unsuccessful initialization. |
int OMEmainLoop | ( | uint_fast32_t | methodLimit | ) |
Run method invocations and handle events, such as input available and timer expiration.
Run method invocations and handle events, such as input available and timer expiration.
Referenced by VISTAOMEmain().
int VISTAOMEmain | ( | int | argc, |
const char ** | argv, | ||
const char ** | envp = nullptr |
||
) |
Library main entry point.
![]() | Generated: Tue Jul 28 2020 16:03:26
Support Information |