LibreOffice Module cppuhelper (master) 1
|
#include <servicemanager.hxx>
Public Types | |
enum | Status { STATUS_NEW , STATUS_WRAPPER , STATUS_LOADED } |
Public Member Functions | |
Implementation (OUString theName, OUString theLoader, OUString theUri, OUString theEnvironment, OUString theConstructorName, OUString thePrefix, bool theIsSingleInstance, css::uno::Reference< css::uno::XComponentContext > theAlienContext, OUString theRdbFile) | |
Implementation (OUString theName, css::uno::Reference< css::lang::XSingleComponentFactory > const &theFactory1, css::uno::Reference< css::lang::XSingleServiceFactory > const &theFactory2, css::uno::Reference< css::lang::XComponent > theComponent) | |
Implementation (const Implementation &)=delete | |
const Implementation & | operator= (const Implementation &)=delete |
css::uno::Reference< css::uno::XInterface > | createInstance (css::uno::Reference< css::uno::XComponentContext > const &context, bool singletonRequest) |
css::uno::Reference< css::uno::XInterface > | createInstanceWithArguments (css::uno::Reference< css::uno::XComponentContext > const &context, bool singletonRequest, css::uno::Sequence< css::uno::Any > const &arguments) |
bool | shallDispose () const |
Public Attributes | |
OUString | name |
OUString | loader |
OUString | uri |
OUString | environment |
OUString | constructorName |
OUString | prefix |
bool | isSingleInstance |
css::uno::Reference< css::uno::XComponentContext > | alienContext |
OUString | rdbFile |
std::vector< OUString > | services |
std::vector< OUString > | singletons |
WrapperConstructorFn | constructorFn |
css::uno::Reference< css::lang::XSingleComponentFactory > | factory1 |
css::uno::Reference< css::lang::XSingleServiceFactory > | factory2 |
css::uno::Reference< css::lang::XComponent > | component |
Status | status |
std::mutex | mutex |
css::uno::Reference< css::uno::XInterface > | singleInstance |
css::uno::Reference< css::lang::XComponent > | disposeInstance |
bool | dispose |
Private Member Functions | |
css::uno::Reference< css::uno::XInterface > | doCreateInstance (css::uno::Reference< css::uno::XComponentContext > const &context) |
css::uno::Reference< css::uno::XInterface > | doCreateInstanceWithArguments (css::uno::Reference< css::uno::XComponentContext > const &context, css::uno::Sequence< css::uno::Any > const &arguments) |
void | updateDisposeInstance (bool singletonRequest, css::uno::Reference< css::uno::XInterface > const &instance) |
Definition at line 72 of file servicemanager.hxx.
Enumerator | |
---|---|
STATUS_NEW | |
STATUS_WRAPPER | |
STATUS_LOADED |
Definition at line 117 of file servicemanager.hxx.
|
inline |
Definition at line 73 of file servicemanager.hxx.
|
inline |
Definition at line 88 of file servicemanager.hxx.
|
delete |
css::uno::Reference< css::uno::XInterface > cppuhelper::ServiceManager::Data::Implementation::createInstance | ( | css::uno::Reference< css::uno::XComponentContext > const & | context, |
bool | singletonRequest | ||
) |
Definition at line 663 of file servicemanager.cxx.
References doCreateInstance(), isSingleInstance, mutex, singleInstance, and updateDisposeInstance().
css::uno::Reference< css::uno::XInterface > cppuhelper::ServiceManager::Data::Implementation::createInstanceWithArguments | ( | css::uno::Reference< css::uno::XComponentContext > const & | context, |
bool | singletonRequest, | ||
css::uno::Sequence< css::uno::Any > const & | arguments | ||
) |
Definition at line 682 of file servicemanager.cxx.
References mutex.
|
private |
Definition at line 701 of file servicemanager.cxx.
Referenced by createInstance().
|
private |
Definition at line 717 of file servicemanager.cxx.
References cppuhelper::ServiceManager::init().
|
delete |
|
inline |
Definition at line 115 of file servicemanager.hxx.
References isSingleInstance, and singletons.
|
private |
Definition at line 744 of file servicemanager.cxx.
References comp, cppuhelper::WeakComponentImplHelper2< Ifc >::dispose(), and mutex.
Referenced by createInstance().
css::uno::Reference< css::uno::XComponentContext > cppuhelper::ServiceManager::Data::Implementation::alienContext |
Definition at line 137 of file servicemanager.hxx.
css::uno::Reference< css::lang::XComponent > cppuhelper::ServiceManager::Data::Implementation::component |
Definition at line 144 of file servicemanager.hxx.
WrapperConstructorFn cppuhelper::ServiceManager::Data::Implementation::constructorFn |
Definition at line 141 of file servicemanager.hxx.
OUString cppuhelper::ServiceManager::Data::Implementation::constructorName |
Definition at line 134 of file servicemanager.hxx.
bool cppuhelper::ServiceManager::Data::Implementation::dispose |
Definition at line 150 of file servicemanager.hxx.
css::uno::Reference< css::lang::XComponent > cppuhelper::ServiceManager::Data::Implementation::disposeInstance |
Definition at line 149 of file servicemanager.hxx.
OUString cppuhelper::ServiceManager::Data::Implementation::environment |
Definition at line 133 of file servicemanager.hxx.
css::uno::Reference< css::lang::XSingleComponentFactory > cppuhelper::ServiceManager::Data::Implementation::factory1 |
Definition at line 142 of file servicemanager.hxx.
css::uno::Reference< css::lang::XSingleServiceFactory > cppuhelper::ServiceManager::Data::Implementation::factory2 |
Definition at line 143 of file servicemanager.hxx.
bool cppuhelper::ServiceManager::Data::Implementation::isSingleInstance |
Definition at line 136 of file servicemanager.hxx.
Referenced by createInstance(), and shallDispose().
OUString cppuhelper::ServiceManager::Data::Implementation::loader |
Definition at line 131 of file servicemanager.hxx.
std::mutex cppuhelper::ServiceManager::Data::Implementation::mutex |
Definition at line 147 of file servicemanager.hxx.
Referenced by createInstance().
OUString cppuhelper::ServiceManager::Data::Implementation::name |
Definition at line 130 of file servicemanager.hxx.
OUString cppuhelper::ServiceManager::Data::Implementation::prefix |
Definition at line 135 of file servicemanager.hxx.
OUString cppuhelper::ServiceManager::Data::Implementation::rdbFile |
Definition at line 138 of file servicemanager.hxx.
std::vector< OUString > cppuhelper::ServiceManager::Data::Implementation::services |
Definition at line 139 of file servicemanager.hxx.
css::uno::Reference<css::uno::XInterface> cppuhelper::ServiceManager::Data::Implementation::singleInstance |
Definition at line 148 of file servicemanager.hxx.
Referenced by createInstance().
std::vector< OUString > cppuhelper::ServiceManager::Data::Implementation::singletons |
Definition at line 140 of file servicemanager.hxx.
Referenced by shallDispose().
Status cppuhelper::ServiceManager::Data::Implementation::status |
Definition at line 145 of file servicemanager.hxx.
OUString cppuhelper::ServiceManager::Data::Implementation::uri |
Definition at line 132 of file servicemanager.hxx.