PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBModule
Wrapper Class for the IModule interface.
#include <SFBModule.h.hpp>
class SFBModule : public SFBBase;
SFMTYPEDEFWRAPPER(SFBModule)

Inheritance diagram

 Inheritance diagram of SFBModuleClass

Version

BREW 2.0 BREW 2.1 BREW 3.1 BREW 4.0
O O O O

Reference

BREW API IModule

Member

Public Functions
SFCError CreateInstance( AEECLSID id , SFBBaseSmpPtr result )
Create a new SFBModule instance.
SFBBaseSmp CreateInstance( AEECLSID id )
Create a new SFBModule instance.
Void FreeResources( SFBHeapSmpConstRef heap , SFBFileMgrSmpConstRef filemgr )
This function is called by the AEE Shell when the shell or device detects a low memory or storage condition.
Protected Functions
static
SFBBaseSmp
FactoryByCreate( AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface.
static
SFBBaseSmp
FactoryByQuery( SFBQuerySmpConstRef query , AEECLSID id , SFCErrorPtr exception = null ) (inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.

SFBModule::CreateInstance
Create a new SFBModule instance.
[ public ]
SFCError CreateInstance(
    AEECLSID id            // ClassID
    SFBBaseSmpPtr result   // get the interface
);
[ public ]
SFBBaseSmp CreateInstance(
    AEECLSID id   // ClassID
);

Reference

BREW API IMODULE_CreateInstance


SFBModule::FreeResources
This function is called by the AEE Shell when the shell or device detects a low memory or storage condition.
[ public ]
Void FreeResources(
    SFBHeapSmpConstRef heap         // SFBHeap interface
    SFBFileMgrSmpConstRef filemgr   // SFBFileMgr interface
);

Reference

BREW API IMODULE_FreeResources