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 an 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 an URL and to consume the retrieved input stream.

#i73788#

Definition at line 34 of file retrieveinputstreamconsumer.hxx.

Constructor & Destructor Documentation

SwAsyncRetrieveInputStreamThreadConsumer::SwAsyncRetrieveInputStreamThreadConsumer ( SwGrfNode rGrfNode)

Definition at line 30 of file retrieveinputstreamconsumer.cxx.

SwAsyncRetrieveInputStreamThreadConsumer::~SwAsyncRetrieveInputStreamThreadConsumer ( )

Member Function Documentation

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.

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

Member Data Documentation

oslInterlockedCount SwAsyncRetrieveInputStreamThreadConsumer::mnThreadID
private
SwGrfNode& SwAsyncRetrieveInputStreamThreadConsumer::mrGrfNode
private

Definition at line 53 of file retrieveinputstreamconsumer.hxx.

Referenced by ApplyInputStream(), and CreateThread().


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