#include <src/main/decaf/lang/Runtime.h>
|
static Runtime * | getRuntime () |
| Gets the single instance of the Decaf Runtime for this Process.
|
|
static void | initializeRuntime (int argc, char **argv) |
| Initialize the Decaf Library passing it the args that were passed to the application at startup.
|
|
static void | initializeRuntime () |
| Initialize the Decaf Library.
|
|
static void | shutdownRuntime () |
| Shutdown the Decaf Library, this call should take places after all objects that were created from the Decaf library have been deallocated.
|
|
◆ Runtime()
decaf::lang::Runtime::Runtime |
( |
| ) |
|
|
protected |
◆ ~Runtime()
virtual decaf::lang::Runtime::~Runtime |
( |
| ) |
|
|
virtual |
◆ getRuntime()
static Runtime * decaf::lang::Runtime::getRuntime |
( |
| ) |
|
|
static |
Gets the single instance of the Decaf Runtime for this Process.
- Returns
- pointer to the single Decaf Runtime instance that exists for this process
◆ initializeRuntime() [1/2]
static void decaf::lang::Runtime::initializeRuntime |
( |
| ) |
|
|
static |
Initialize the Decaf Library.
- Exceptions
-
runtime_error | if the library is already initialized or an error occurs during initialization. |
◆ initializeRuntime() [2/2]
static void decaf::lang::Runtime::initializeRuntime |
( |
int | argc, |
|
|
char ** | argv ) |
|
static |
Initialize the Decaf Library passing it the args that were passed to the application at startup.
- Parameters
-
argc | - The number of args passed |
argv | - Array of char* values passed to the Process on start. |
- Exceptions
-
runtime_error | if the library is already initialized or an error occurs during initialization. |
◆ shutdownRuntime()
static void decaf::lang::Runtime::shutdownRuntime |
( |
| ) |
|
|
static |
Shutdown the Decaf Library, this call should take places after all objects that were created from the Decaf library have been deallocated.
- Exceptions
-
runtime_error | if the library has not already been initialized or an error occurs during shutdown. |
The documentation for this class was generated from the following file: