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

class for a thread to retrieve an input stream given by a URL More...

#include <retrieveinputstream.hxx>

Inheritance diagram for SwAsyncRetrieveInputStreamThread:
[legend]
Collaboration diagram for SwAsyncRetrieveInputStreamThread:
[legend]

Public Member Functions

static ::rtl::Reference< ObservableThreadcreateThread (const SwRetrievedInputStreamDataManager::tDataKey nDataKey, const OUString &rLinkedURL, const OUString &rReferer)
 
virtual ~SwAsyncRetrieveInputStreamThread () override
 
- Public Member Functions inherited from ObservableThread
virtual ~ObservableThread () override
 
void SetListener (std::weak_ptr< IFinishedThreadListener > const &pThreadListener, const oslInterlockedCount nThreadID)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

virtual void threadFunction () override
 
 SwAsyncRetrieveInputStreamThread (const SwRetrievedInputStreamDataManager::tDataKey nDataKey, OUString aLinkedURL, OUString aReferer)
 

Private Attributes

const SwRetrievedInputStreamDataManager::tDataKey mnDataKey
 
const OUString mrLinkedURL
 
const OUString mrReferer
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from ObservableThread
 ObservableThread ()
 
virtual void SAL_CALL run () override
 intrinsic function of the thread More...
 
virtual void threadFunction ()=0
 
virtual void SAL_CALL onTerminated () override
 method called, when thread has finished its work More...
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

class for a thread to retrieve an input stream given by a URL

OD 2007-01-29 #i73788#

Definition at line 31 of file retrieveinputstream.hxx.

Constructor & Destructor Documentation

◆ ~SwAsyncRetrieveInputStreamThread()

SwAsyncRetrieveInputStreamThread::~SwAsyncRetrieveInputStreamThread ( )
overridevirtual

Definition at line 51 of file retrieveinputstream.cxx.

◆ SwAsyncRetrieveInputStreamThread()

SwAsyncRetrieveInputStreamThread::SwAsyncRetrieveInputStreamThread ( const SwRetrievedInputStreamDataManager::tDataKey  nDataKey,
OUString  aLinkedURL,
OUString  aReferer 
)
private

Definition at line 41 of file retrieveinputstream.cxx.

Referenced by createThread().

Member Function Documentation

◆ createThread()

rtl::Reference< ObservableThread > SwAsyncRetrieveInputStreamThread::createThread ( const SwRetrievedInputStreamDataManager::tDataKey  nDataKey,
const OUString &  rLinkedURL,
const OUString &  rReferer 
)

◆ threadFunction()

void SwAsyncRetrieveInputStreamThread::threadFunction ( )
overrideprivatevirtual

Member Data Documentation

◆ mnDataKey

const SwRetrievedInputStreamDataManager::tDataKey SwAsyncRetrieveInputStreamThread::mnDataKey
private

Definition at line 49 of file retrieveinputstream.hxx.

Referenced by threadFunction().

◆ mrLinkedURL

const OUString SwAsyncRetrieveInputStreamThread::mrLinkedURL
private

Definition at line 50 of file retrieveinputstream.hxx.

Referenced by threadFunction().

◆ mrReferer

const OUString SwAsyncRetrieveInputStreamThread::mrReferer
private

Definition at line 51 of file retrieveinputstream.hxx.

Referenced by threadFunction().


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