FBLibrary Class Reference
 
 
 
FBLibrary Class Reference

#include <fbcomponent.h>


Class Description

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 1076 of file fbcomponent.h.

Inheritance diagram for FBLibrary:
FBLibraryBase

Public Member Functions

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.
  IObject_Declare (K_IMPLEMENTATION)
  ICallback_Declare (K_IMPLEMENTATION)
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.

Member Function Documentation

virtual bool FBLibrary::LibInit ( ) [virtual]

Initialize library.

Initial load of DLL into memory.

Returns:
true if successful.

Reimplemented from FBLibraryBase.

virtual bool FBLibrary::LibOpen ( ) [virtual]

Open library.

Library is opened to peruse the exported symbols.

Returns:
true if successful.

Reimplemented from FBLibraryBase.

virtual bool FBLibrary::LibReady ( ) [virtual]

Is library ready? Ready the library to begin accessing the functions.

Any on library activation code should be placed in this function.

Returns:
true if successful.

Reimplemented from FBLibraryBase.

virtual bool FBLibrary::LibClose ( ) [virtual]

Close library.

Returns:
true if successful.

Reimplemented from FBLibraryBase.

virtual bool FBLibrary::LibRelease ( ) [virtual]

Release library.

Returns:
true if successful.

Reimplemented from FBLibraryBase.

FBLibraryBase::IObject_Declare ( K_IMPLEMENTATION  ) [inherited]
FBLibraryBase::ICallback_Declare ( K_IMPLEMENTATION  ) [inherited]
void FBLibraryBase::Library_OpenHandler ( HIRegister  pCaller,
HKEventBase  pEvent 
) [inherited]
void FBLibraryBase::Library_ReadyHandler ( HIRegister  pCaller,
HKEventBase  pEvent 
) [inherited]
void FBLibraryBase::Library_CloseHandler ( HIRegister  pCaller,
HKEventBase  pEvent 
) [inherited]
void FBLibraryBase::Library_ReleaseHandler ( HIRegister  pCaller,
HKEventBase  pEvent 
) [inherited]

Member Data Documentation

KGlobalNamedEvent* FBLibraryBase::mLibrary_Open [inherited]

Library Open.

Definition at line 1058 of file fbcomponent.h.

KGlobalNamedEvent * FBLibraryBase::mLibrary_Ready [inherited]

Library Ready.

Definition at line 1058 of file fbcomponent.h.

KGlobalNamedEvent * FBLibraryBase::mLibrary_Close [inherited]

Library Close.

Definition at line 1058 of file fbcomponent.h.

KGlobalNamedEvent * FBLibraryBase::mLibrary_Release [inherited]

Library Release.

Definition at line 1058 of file fbcomponent.h.


The documentation for this class was generated from the following file: