Engine implementation class.
More...
List of all members.
Detailed Description
Engine implementation class.
Constructor & Destructor Documentation
Impl |
( |
Engine & |
engine, |
|
|
int |
argc, |
|
|
char * |
argv[] |
|
) |
| [inline] |
Default constructor.
- Parameters:
-
engine | The Engine instance |
argc | Argument count |
argv | Argument list |
Member Function Documentation
Enque a run context.
- Parameters:
-
ctx | The run context to enque |
Enque continuation.
- Parameters:
-
int enqueTests |
( |
| ) |
[inline, private] |
Enque tests.
- Returns:
- 0 on success, error code on error
Exit the engine.
- Returns:
- 0 on success, else error value
const Mode& getMode |
( |
| ) |
const [inline] |
Get engine run mode.
- Returns:
- Engine mode
int init |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| [inline] |
Initialize the engine.
- Parameters:
-
argc | Argument count |
argv | Argument list |
- Returns:
- 0 on success, else error value
int parse |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| [inline] |
Parse command line parameters.
- Parameters:
-
argc | Argument count |
argv | Argument list |
- Returns:
- 0 on success, else error value
Pump current fibers in engine.
- Returns:
- 0 on success, else error value
Register a continuation to run on exit.
- Parameters:
-
continuation | The continuation to run on exit |
The documentation for this class was generated from the following file:
- /home/renji/Data/projects/zenlang/sources/zbl/zrt.cpp