Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Emma::IBaseApp Class Reference

The base interface to use Emma. More...

#include <EmmaIBaseApp.h>

Inheritance diagram for Emma::IBaseApp:

Emma::BaseApp List of all members.

Public Member Functions

virtual Fusion::ResultType destroyBaseApp ()=0
 A client should call this last.
virtual IInstancecreateInstance (const Fusion::UTF8String &filename)=0
 This method creates a new instance of Emma.
virtual Fusion::ResultType destroyInstance (IInstance *)=0
 This cleans up the resources used by this instance.

Static Public Member Functions

static IBaseAppcreateBaseApp (const Fusion::UTF8String &appPath)
 Creates the singleton application object and returns.

Detailed Description

The base interface to use Emma.

Remarks:
A client should first call createApplication to use Emma Then createInstance should be called to create an instance of Emma


Member Function Documentation

static IBaseApp* Emma::IBaseApp::createBaseApp const Fusion::UTF8String appPath  )  [static]
 

Creates the singleton application object and returns.

Remarks:
A client should first get this object to use Emma

Reimplemented in Emma::BaseApp.

virtual IInstance* Emma::IBaseApp::createInstance const Fusion::UTF8String filename  )  [pure virtual]
 

This method creates a new instance of Emma.

Remarks:
A client can create many instances of Emma

Implemented in Emma::BaseApp.

virtual Fusion::ResultType Emma::IBaseApp::destroyBaseApp  )  [pure virtual]
 

A client should call this last.

Remarks:
Returns false if there are still instances that are not destroyed

Implemented in Emma::BaseApp.

virtual Fusion::ResultType Emma::IBaseApp::destroyInstance IInstance  )  [pure virtual]
 

This cleans up the resources used by this instance.

Remarks:
This method destroys the Instance object so the IInstance pointer cannot be used and should be set to NULL after this call.

Implemented in Emma::BaseApp.


The documentation for this class was generated from the following file:
Generated on Sat Apr 1 06:08:22 2006 for Emma SDK Guide by  doxygen 1.4.3