Static Public Methods | |
int | init () |
Initialize a container to allow access to services. | |
int | fini () |
Shutdown the container. | |
int | load (const char *name, const char *args=NULL) |
Load a component into the container. |
This class creates a Gaia container (exection node) for applications. Applications (console and gui) should initialize the container before using any Gaia services.
Example:
include "Gaia.h"
int main(int argc, char **argv)
{
// Initalize the container.
Gaia::init();
// Optionally load other needed components.
GaiaEN::load("CORBA/Launcher", "-f launcher.xml");
// ... use any Gaia services ...
// Clean up the container.
Gaia::fini();
return 0;
}
|
Shutdown the container.
|
|
Initialize a container to allow access to services.
|
|
Load a component into the container.
|