activemq-cpp-3.6.0
decaf::lang::Runtime Class Reference

#include <src/main/decaf/lang/Runtime.h>

Inheritance diagram for decaf::lang::Runtime:

Public Member Functions

virtual ~Runtime ()

Static Public Member Functions

static RuntimegetRuntime ()
 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.

Protected Member Functions

 Runtime ()

Constructor & Destructor Documentation

decaf::lang::Runtime::Runtime ( )
protected
virtual decaf::lang::Runtime::~Runtime ( )
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_errorif the library is already initialized or an error occurs during initialization.
static void decaf::lang::Runtime::initializeRuntime ( )
static

Initialize the Decaf Library.

Exceptions
runtime_errorif 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_errorif the library has not already been initialized or an error occurs during shutdown.

The documentation for this class was generated from the following file: