Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class ORealDynamicLoader


acquire
sal_uInt32 acquire();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
increase the reference count.

release
sal_uInt32 release();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
decrease the reference count and delete the last instance.

getApi
void * getApi();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
returns a poiner to the initialized API function structure.

ORealDynamicLoader
ORealDynamicLoader(
ORealDynamicLoader * * ppSetToZeroInDestructor,
const ::rtl::OUString & strModuleName,
const ::rtl::OUString & strInitFunction,
void * pApi,
oslModule pModule );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Constructor.
Parameters
ppSetToZeroInDestructor
points to the loader instance which must be set to NULL
                                       if the loader will be destroyed.
        
strModuleName
specifies the library name.
        
strInitFunction
specifies the name of the initialization function.
        
pApi
points to a structure with the initialized API function pointers.
        
pModule
points to the loaded library handle.
     

~ORealDynamicLoader
virtual ~ORealDynamicLoader();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO NO NO

Summary
Destructor, try to unload the library.

newInstance
static ORealDynamicLoader * newInstance(
ORealDynamicLoader * * ppSetToZeroInDestructor,
const ::rtl::OUString & strModuleName,
const ::rtl::OUString & strInitFunction );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES NO NO

Summary
initializes the loader, loads the library and call the initialization fucntion.
Parameters
ppSetToZeroInDestructor
points to the loader instance which must be set to NULL
                                       if the loader will be destroyed.
        
strModuleName
specifies the library name.
        
strInitFunction
specifies the name of the initialization function.
     

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.