LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
ThreadListener Class Referencefinal

helper class to observe threads More...

#include <threadlistener.hxx>

Inheritance diagram for ThreadListener:
Collaboration diagram for ThreadListener:

Public Member Functions

 ThreadListener (ThreadManager &rThreadListenerOwner)
 helper class to observe threads More...
virtual ~ThreadListener () override
void ListenToThread (const oslInterlockedCount nThreadID, ObservableThread &rThread)
virtual void NotifyAboutFinishedThread (const oslInterlockedCount nThreadID) override
- Public Member Functions inherited from IFinishedThreadListener
virtual ~IFinishedThreadListener ()

Private Attributes


Additional Inherited Members

- Protected Member Functions inherited from IFinishedThreadListener
 IFinishedThreadListener ()

Detailed Description

helper class to observe threads

OD 2007-03-30 #i73788# An instance of this class can be used to observe a thread in order to be notified, if the thread has finished its work. The notification is directly forward to its owner - an instance of ThreadManager Note:

Definition at line 37 of file threadlistener.hxx.

Constructor & Destructor Documentation

ThreadListener::ThreadListener ( ThreadManager rThreadListenerOwner)

helper class to observe threads


Definition at line 26 of file threadlistener.cxx.

ThreadListener::~ThreadListener ( )

Definition at line 31 of file threadlistener.cxx.

Member Function Documentation

void ThreadListener::ListenToThread ( const oslInterlockedCount  nThreadID,
ObservableThread rThread 
void ThreadListener::NotifyAboutFinishedThread ( const oslInterlockedCount  nThreadID)

Member Data Documentation

ThreadManager& ThreadListener::mrThreadListenerOwner

Definition at line 51 of file threadlistener.hxx.

Referenced by ListenToThread(), and NotifyAboutFinishedThread().

The documentation for this class was generated from the following files: