LibreOffice Module cppuhelper (master) 1
|
This struct contains the standard variables of a broadcaster. More...
#include <interfacecontainer.h>
Public Member Functions | |
OBroadcastHelperVar (::osl::Mutex &rMutex_) | |
Initialize the structure. More... | |
void | addListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r) |
adds a listener threadsafe. More... | |
void | removeListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r) |
removes a listener threadsafe More... | |
OInterfaceContainerHelper *SAL_CALL | getContainer (const keyType &key) const |
Return the container created under this key. More... | |
Public Attributes | |
::osl::Mutex & | rMutex |
The shared mutex. More... | |
container | aLC |
ListenerContainer class is thread safe. More... | |
sal_Bool | bDisposed |
Dispose call ready. More... | |
sal_Bool | bInDispose |
In dispose call. More... | |
This struct contains the standard variables of a broadcaster.
Helper classes only know a reference to this struct instead of references to the four members. The access to the members must be guarded with rMutex.
The additional template parameter keyType has been added, because gcc can't compile addListener( const container::keyType &key ).
Definition at line 439 of file interfacecontainer.h.
|
inline |
Initialize the structure.
bDispose and bInDispose are set to false.
rMutex_ | the mutex reference. |
Definition at line 454 of file interfacecontainer.h.
|
inline |
adds a listener threadsafe.
Definition at line 464 of file interfacecontainer.h.
|
inline |
Return the container created under this key.
Definition at line 493 of file interfacecontainer.h.
|
inline |
removes a listener threadsafe
Definition at line 478 of file interfacecontainer.h.
container cppu::OBroadcastHelperVar< container, keyType >::aLC |
ListenerContainer class is thread safe.
Definition at line 444 of file interfacecontainer.h.
sal_Bool cppu::OBroadcastHelperVar< container, keyType >::bDisposed |
Dispose call ready.
Definition at line 446 of file interfacecontainer.h.
sal_Bool cppu::OBroadcastHelperVar< container, keyType >::bInDispose |
In dispose call.
Definition at line 448 of file interfacecontainer.h.
::osl::Mutex& cppu::OBroadcastHelperVar< container, keyType >::rMutex |
The shared mutex.
Definition at line 442 of file interfacecontainer.h.
Referenced by cppu::OPropertySetHelper::getFastPropertyValue().