#include <fbcomponent.h>
Library class for DLL registration.
Manages the DLL control via a global FBLibrary object. For each DLL to be created, an implementation of the FBLibrary functions will be necessary, see the sample code to see an example implementation.
Definition at line 1086 of file fbcomponent.h.
Public Member Functions | |
FBLibraryBase () | |
virtual | ~FBLibraryBase () |
virtual HIObject | IQuery (kInterfaceID pInterfaceID, int IsLocal=0) |
virtual void | Destroy (int IsLocal=0) |
virtual bool | LibInit () |
Initialize library. More... | |
virtual bool | LibOpen () |
Open library. More... | |
virtual bool | LibReady () |
Is library ready? Ready the library to begin accessing the functions. More... | |
virtual bool | LibClose () |
Close library. More... | |
virtual bool | LibRelease () |
Release library. More... | |
void | Library_OpenHandler (HIRegister pCaller, HKEventBase pEvent) |
void | Library_ReadyHandler (HIRegister pCaller, HKEventBase pEvent) |
void | Library_CloseHandler (HIRegister pCaller, HKEventBase pEvent) |
void | Library_ReleaseHandler (HIRegister pCaller, HKEventBase pEvent) |
Public Attributes | |
KGlobalNamedEvent * | mLibrary_Open |
Library Open. More... | |
KGlobalNamedEvent * | mLibrary_Ready |
Library Ready. More... | |
KGlobalNamedEvent * | mLibrary_Close |
Library Close. More... | |
KGlobalNamedEvent * | mLibrary_Release |
Library Release. More... | |
FBLibraryBase | ( | ) |
|
virtual |
|
virtual |
Implements IObject.
|
virtual |
|
virtual |
Initialize library.
Initial load of DLL into memory.
Reimplemented in FBLibrary.
|
virtual |
Open library.
Library is opened to peruse the exported symbols.
Reimplemented in FBLibrary.
void Library_CloseHandler | ( | HIRegister | pCaller, |
HKEventBase | pEvent | ||
) |
void Library_OpenHandler | ( | HIRegister | pCaller, |
HKEventBase | pEvent | ||
) |
void Library_ReadyHandler | ( | HIRegister | pCaller, |
HKEventBase | pEvent | ||
) |
void Library_ReleaseHandler | ( | HIRegister | pCaller, |
HKEventBase | pEvent | ||
) |
|
virtual |
Is library ready? Ready the library to begin accessing the functions.
Any on library activation code should be placed in this function.
Reimplemented in FBLibrary.
|
virtual |
KGlobalNamedEvent * mLibrary_Close |
Library Close.
Definition at line 1123 of file fbcomponent.h.
KGlobalNamedEvent* mLibrary_Open |
Library Open.
Definition at line 1123 of file fbcomponent.h.
KGlobalNamedEvent * mLibrary_Ready |
Library Ready.
Definition at line 1123 of file fbcomponent.h.
KGlobalNamedEvent * mLibrary_Release |
Library Release.
Definition at line 1123 of file fbcomponent.h.