(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.