Overview | Namespace | Class | 索引 | 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 ::
template< typename API >
class ODynamicLoader
- Base Classes
- 非,不,無.
- Known Derived Classes
- 非,不,無.
事実上の | abstract | interface | template |
NO | NO | NO | YES |
- D E P R E C A T E D
- 要約
- The ODynmaicLoader 供給するs a special 負担 on call 機械装置 for dynamic libraries which support a C-API.
- Description
- The libraries must 供給する a struct with 機能(する)/行事 pointers for all supported C 機能(する)/行事s. The loader 負担s the 明示するd library and call the 明示するd initialization 機能(する)/行事 to initialize the 機能(する)/行事 pointers with the real 機能(する)/行事s. その上に 供給するs the loader a 言及/関連 反対する for the library. When the last instance of the laoder will be destroyed the loader will 荷を降ろす the library. Do not use.
- とじ込み/提出する
- dynload.hxx
Public Members
-
Methods
ODynamicLoader( ) throw( );Default 建設者
ODynamicLoader( const ::rtl::OUString & strModuleName, const ::rtl::OUString & strInitFunction ) throw( );建設者, 負担s the library if necessary さもなければ the refernece count will be 増加するd.
ODynamicLoader( const ODynamicLoader< API > & toCopy ) throw( );Copy 建設者
~ODynamicLoader( ) throw( );Destructor, 減少(する) the 言及/関連 count and 荷を降ろす the library if it is tha last instance. ODynamicLoader< API > &
操作者=( const ODynamicLoader< API > & toAssign ) throw( );割り当てる 操作者 API *
getApi( ) const throw( );returns a pointer to the initialized API 機能(する)/行事 structure. API *
操作者->( ) const throw( );cast 操作者, which cast to a pointer with the initialized API 機能(する)/行事 structure. sal_Bool
isLoaded( ) const throw( );checks if the loader 作品 on a 負担d and initialized library.
保護するd Members
-
Data
ORealDynamicLoader * m_pLoader;
Static Data
ORealDynamicLoader * m_pStaticLoader; 蓄える/店s the real loader helper instance
Copyright © 2012, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.