Content for Apache OpenOffice version 3.4.
| 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 |
:: salhelper ::
class ORealDynamicLoader
- Base Classes
- None.
- Known Derived Classes
- None.
| virtual | abstract | interface | template |
| YES | NO | NO | NO |
- Summary
- The ORealDynamicLoader is an implementation helper class for the template loader ODynamicLoader.
- File
- dynload.hxx
Public Members
-
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.
Protected Members
-
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 © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.

