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 851 of file fbcomponent.h.
#include <fbcomponent.h>
Public Member Functions |
|
FBLibraryBase () | |
virtual | ~FBLibraryBase () |
IObject_Declare (Implementation) | |
ICallback_Declare (Implementation) | |
virtual bool | LibInit () |
Initialize library. |
|
virtual bool | LibOpen () |
Open library. |
|
virtual bool | LibReady () |
Is library ready? Ready the library to begin
accessing the functions. |
|
virtual bool | LibClose () |
Close library. |
|
virtual bool | LibRelease () |
Release library. |
|
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. |
|
KGlobalNamedEvent * | mLibrary_Ready |
Library Ready. |
|
KGlobalNamedEvent * | mLibrary_Close |
Library Close. |
|
KGlobalNamedEvent * | mLibrary_Release |
Library Release. |
FBLibraryBase | ( | ) |
virtual ~FBLibraryBase | ( | ) | [virtual] |
IObject_Declare | ( | Implementation | ) |
ICallback_Declare | ( | Implementation | ) |
virtual bool LibInit | ( | ) | [virtual] |
Initialize library.
Initial load of DLL into memory.
Reimplemented in FBLibrary.
virtual bool LibOpen | ( | ) | [virtual] |
Open library.
Library is opened to peruse the exported symbols.
Reimplemented in FBLibrary.
virtual bool LibReady | ( | ) | [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 bool LibClose | ( | ) | [virtual] |
virtual bool LibRelease | ( | ) | [virtual] |
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 | ||
) |
KGlobalNamedEvent* mLibrary_Open |
KGlobalNamedEvent * mLibrary_Ready |
KGlobalNamedEvent * mLibrary_Close |
KGlobalNamedEvent * mLibrary_Release |