LibreOffice Module sw (master) 1
|
class for a thread to retrieve an input stream given by a URL More...
#include <retrieveinputstream.hxx>
Public Member Functions | |
static ::rtl::Reference< ObservableThread > | createThread (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 |
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.
|
overridevirtual |
Definition at line 51 of file retrieveinputstream.cxx.
|
private |
Definition at line 41 of file retrieveinputstream.cxx.
Referenced by createThread().
rtl::Reference< ObservableThread > SwAsyncRetrieveInputStreamThread::createThread | ( | const SwRetrievedInputStreamDataManager::tDataKey | nDataKey, |
const OUString & | rLinkedURL, | ||
const OUString & | rReferer | ||
) |
Definition at line 32 of file retrieveinputstream.cxx.
References SwAsyncRetrieveInputStreamThread().
Referenced by SwAsyncRetrieveInputStreamThreadConsumer::CreateThread().
|
overrideprivatevirtual |
Implements ObservableThread.
Definition at line 55 of file retrieveinputstream.cxx.
References utl::MediaDescriptor::addInputStream(), SwRetrievedInputStreamDataManager::GetManager(), utl::MediaDescriptor::isStreamReadOnly(), comphelper::makePropertyValue(), mnDataKey, mrLinkedURL, mrReferer, utl::MediaDescriptor::PROP_INPUTSTREAM, utl::MediaDescriptor::PROP_STREAM, SwRetrievedInputStreamDataManager::PushData(), and xStream.
|
private |
Definition at line 49 of file retrieveinputstream.hxx.
Referenced by threadFunction().
|
private |
Definition at line 50 of file retrieveinputstream.hxx.
Referenced by threadFunction().
|
private |
Definition at line 51 of file retrieveinputstream.hxx.
Referenced by threadFunction().