LibreOffice Module cli_ure (master) 1
|
This class can be used as a base class for UNO objects. More...
Public Member Functions | |
XAdapter | queryAdapter () |
The returned XAdapter implementation can be used to keap a weak reference to this object. More... | |
Type[] | getTypes () |
Returns an array of Type objects which represent all implemented UNO interfaces of this object. More... | |
byte[] | getImplementationId () |
override String | ToString () |
Static Protected Attributes | |
static Hashtable | s_types = new Hashtable() |
static Hashtable | s_impl_ids = new Hashtable() |
Private Member Functions | |
~WeakBase () | |
Overrides of Object.Finalize method. More... | |
Private Attributes | |
WeakAdapter | m_adapter = null |
This class can be used as a base class for UNO objects.
It implements the capability to be kept weakly (unoidl.com.sun.star.uno.XWeak) and it implements unoidl.com.sun.star.lang.XTypeProvider which is necessary for using the object from StarBasic.
Definition at line 33 of file WeakBase.cs.
|
inlineprivate |
Overrides of Object.Finalize method.
When there are no references to this object anymore, then the garbage collector calls this method, thereby causing the adapter object to be notified. The adapter, in turn, notifies all listeners (unoidl.com.sun.star.uno.XReference).
Definition at line 67 of file WeakBase.cs.
References uno.util.WeakBase.m_adapter.
|
inline |
Definition at line 112 of file WeakBase.cs.
|
inline |
Returns an array of Type objects which represent all implemented UNO interfaces of this object.
Definition at line 80 of file WeakBase.cs.
References lock(), pos, uno.util.WeakBase.s_types, and type.
Referenced by uno.util.WeakBase.ToString().
|
inline |
The returned XAdapter implementation can be used to keap a weak reference to this object.
Definition at line 48 of file WeakBase.cs.
References lock(), and uno.util.WeakBase.m_adapter.
|
inline |
Definition at line 118 of file WeakBase.cs.
References base, FullName, uno.util.WeakBase.getTypes(), pos, String, and System.
|
private |
Definition at line 37 of file WeakBase.cs.
Referenced by uno.util.WeakBase.queryAdapter(), and uno.util.WeakBase.~WeakBase().
Definition at line 40 of file WeakBase.cs.
Definition at line 39 of file WeakBase.cs.
Referenced by uno.util.WeakBase.getTypes().