Open Reality Reference Guide
FBLibraryBase Class Reference

Library class for DLL registration. More...

#include <fbcomponent.h>

Inheritance diagram for FBLibraryBase:

Public Member Functions

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

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

Member Function Documentation

◆ LibClose()

virtual bool LibClose ( )
virtual

Close library.

Returns
true if successful.

Reimplemented in FBLibrary.

◆ LibInit()

virtual bool LibInit ( )
virtual

Initialize library.

Initial load of DLL into memory.

Returns
true if successful.

Reimplemented in FBLibrary.

◆ LibOpen()

virtual bool LibOpen ( )
virtual

Open library.

Library is opened to peruse the exported symbols.

Returns
true if successful.

Reimplemented in FBLibrary.

◆ LibReady()

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.

Returns
true if successful.

Reimplemented in FBLibrary.

◆ LibRelease()

virtual bool LibRelease ( )
virtual

Release library.

Returns
true if successful.

Reimplemented in FBLibrary.

Member Data Documentation

◆ mLibrary_Close

KGlobalNamedEvent * mLibrary_Close

Library Close.

Definition at line 1109 of file fbcomponent.h.

◆ mLibrary_Open

KGlobalNamedEvent* mLibrary_Open

Library Open.

Definition at line 1107 of file fbcomponent.h.

◆ mLibrary_Ready

KGlobalNamedEvent * mLibrary_Ready

Library Ready.

Definition at line 1108 of file fbcomponent.h.

◆ mLibrary_Release

KGlobalNamedEvent * mLibrary_Release

Library Release.

Definition at line 1110 of file fbcomponent.h.


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