#include <src/main/decaf/lang/Runtime.h>
Public Member Functions |
virtual | ~Runtime () |
Static Public Member Functions |
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.
|
Constructor & Destructor Documentation
virtual decaf::lang::Runtime::~Runtime |
( |
| ) |
[inline, virtual] |
Member Function Documentation
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
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. |
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. |
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: