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

class to provide creation of a thread to retrieve an input stream given by a URL and to consume the retrieved input stream. More...

#include <retrieveinputstreamconsumer.hxx>

Collaboration diagram for SwAsyncRetrieveInputStreamThreadConsumer:
[legend]

Public Member Functions

 SwAsyncRetrieveInputStreamThreadConsumer (SwGrfNode &rGrfNode)
 
 ~SwAsyncRetrieveInputStreamThreadConsumer () COVERITY_NOEXCEPT_FALSE
 
void CreateThread (const OUString &rURL, const OUString &rReferer)
 method to create thread More...
 
void ApplyInputStream (css::uno::Reference< css::io::XInputStream > const &xInputStream, const bool bIsStreamReadOnly)
 method called to provide the retrieved input stream to the thread Consumer More...
 

Private Attributes

SwGrfNodemrGrfNode
 
oslInterlockedCount mnThreadID
 

Detailed Description

class to provide creation of a thread to retrieve an input stream given by a URL and to consume the retrieved input stream.

#i73788#

Definition at line 35 of file retrieveinputstreamconsumer.hxx.

Constructor & Destructor Documentation

◆ SwAsyncRetrieveInputStreamThreadConsumer()

SwAsyncRetrieveInputStreamThreadConsumer::SwAsyncRetrieveInputStreamThreadConsumer ( SwGrfNode rGrfNode)

Definition at line 30 of file retrieveinputstreamconsumer.cxx.

◆ ~SwAsyncRetrieveInputStreamThreadConsumer()

SwAsyncRetrieveInputStreamThreadConsumer::~SwAsyncRetrieveInputStreamThreadConsumer ( )

Member Function Documentation

◆ ApplyInputStream()

void SwAsyncRetrieveInputStreamThreadConsumer::ApplyInputStream ( css::uno::Reference< css::io::XInputStream > const &  xInputStream,
const bool  bIsStreamReadOnly 
)

method called to provide the retrieved input stream to the thread Consumer

Definition at line 56 of file retrieveinputstreamconsumer.cxx.

References SwGrfNode::ApplyInputStream(), and mrGrfNode.

◆ CreateThread()

void SwAsyncRetrieveInputStreamThreadConsumer::CreateThread ( const OUString &  rURL,
const OUString &  rReferer 
)

Member Data Documentation

◆ mnThreadID

oslInterlockedCount SwAsyncRetrieveInputStreamThreadConsumer::mnThreadID
private

◆ mrGrfNode

SwGrfNode& SwAsyncRetrieveInputStreamThreadConsumer::mrGrfNode
private

Definition at line 54 of file retrieveinputstreamconsumer.hxx.

Referenced by ApplyInputStream(), and CreateThread().


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