20using unoidl.com.sun.star.lang;
60 throw new unoidl.com.sun.star.lang.DisposedException(
61 "object already disposed!",
this );
103 bool doDispose =
false;
127 EventObject evt =
new EventObject(
this );
149 "WeakComponentBase.dispose() - dispose called twice" );
168 xListener.disposing(
new EventObject(
this ) );
This class can be used as a base class for UNO objects.
This class can be used as a base class for UNO objects.
bool isDisposed()
Indicates whether object is already disposed.
void postDisposing()
Override to become notified right before the disposing action is performed.
void checkUnDisposed()
Checks whether this object is disposed and throws a DisposedException if it is already disposed.
void preDisposing()
Override to perform extra clean-up work.
delegate void t_disposing(EventObject evt)
void removeEventListener(XEventListener xListener)
Revokes an event listener from being notified when this object is disposed.
void addEventListener(XEventListener xListener)
Registers an event listener being notified when this object is disposed.
void dispose()
This method is called by the owner of this object to explicitly dispose it.
std::shared_ptr< osl::Mutex > const & lock()