Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PROTECTED MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
virtual | abstract | interface | template |
YES | NO | NO | NO |
Methods |
|
sal_uInt32 acquire( ); |
increase the reference count. |
sal_uInt32 release( ); |
decrease the reference count and delete the last instance. |
void * getApi( ) const; |
returns a poiner to the initialized API function structure. |
Static Methods |
|
static ORealDynamicLoader * newInstance( ORealDynamicLoader * * ppSetToZeroInDestructor, const ::rtl::OUString & strModuleName, const ::rtl::OUString & strInitFunction ); |
initializes the loader, loads the library and call the initialization fucntion. |
Methods |
|
ORealDynamicLoader( ORealDynamicLoader * * ppSetToZeroInDestructor, const ::rtl::OUString & strModuleName, const ::rtl::OUString & strInitFunction, void * pApi, oslModule pModule ); |
Constructor. |
virtual ~ORealDynamicLoader( ); |
Destructor, try to unload the library. |
Data |
|
void * m_pApi; | points to the structure with the initialzed API function pointers. |
sal_uInt32 m_refCount; | stores the reference count. |
oslModule m_pModule; | stores the library handle. |
::rtl::OUString m_strModuleName; | stores the library name. |
::rtl::OUString m_strInitFunction; | stores the name of the initialization function. |
ORealDynamicLoader * * ppSetToZeroInDestructor; | stores a pointer to itself, which must be reset in the destructor to signal that the loader is invalid. |
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.