LibreOffice Module sc (master) 1
|
#include <dataprovider.hxx>
Public Member Functions | |
CSVFetchThread (ScDocument &rDoc, OUString, std::function< void()> aImportFinishedHdl, std::vector< std::shared_ptr< sc::DataTransformation > > &&mrDataTransformations) | |
virtual | ~CSVFetchThread () override |
void | RequestTerminate () |
bool | IsRequestedTerminate () |
void | Terminate () |
void | EndThread () |
virtual void | execute () override |
Public Member Functions inherited from salhelper::Thread | |
Thread (char const *name) | |
void | launch () |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
ScDocument & | mrDocument |
OUString | maURL |
std::atomic< bool > | mbTerminate |
orcus::csv::parser_config | maConfig |
std::vector< std::shared_ptr< sc::DataTransformation > > | maDataTransformations |
std::function< void()> | maImportFinishedHdl |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::Thread | |
static void * | operator new (std::size_t size) |
static void | operator delete (void *pointer) |
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 salhelper::Thread | |
virtual | ~Thread () SAL_OVERRIDE |
virtual void | execute ()=0 |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 36 of file dataprovider.hxx.
sc::CSVFetchThread::CSVFetchThread | ( | ScDocument & | rDoc, |
OUString | aURL, | ||
std::function< void()> | aImportFinishedHdl, | ||
std::vector< std::shared_ptr< sc::DataTransformation > > && | mrDataTransformations | ||
) |
Definition at line 66 of file csvdataprovider.cxx.
|
overridevirtual |
Definition at line 80 of file csvdataprovider.cxx.
void sc::CSVFetchThread::EndThread | ( | ) |
Definition at line 94 of file csvdataprovider.cxx.
References RequestTerminate().
|
overridevirtual |
Implements salhelper::Thread.
Definition at line 99 of file csvdataprovider.cxx.
References aBuffer, sc::DataProvider::FetchStreamFromURL(), maConfig, maDataTransformations, maImportFinishedHdl, maURL, mbTerminate, mrDocument, and parser.
bool sc::CSVFetchThread::IsRequestedTerminate | ( | ) |
Definition at line 84 of file csvdataprovider.cxx.
References mbTerminate.
void sc::CSVFetchThread::RequestTerminate | ( | ) |
Definition at line 89 of file csvdataprovider.cxx.
References mbTerminate.
Referenced by EndThread().
void sc::CSVFetchThread::Terminate | ( | ) |
|
private |
Definition at line 43 of file dataprovider.hxx.
Referenced by CSVFetchThread(), and execute().
|
private |
Definition at line 45 of file dataprovider.hxx.
Referenced by execute().
|
private |
Definition at line 47 of file dataprovider.hxx.
Referenced by execute().
|
private |
Definition at line 39 of file dataprovider.hxx.
Referenced by execute().
|
private |
Definition at line 41 of file dataprovider.hxx.
Referenced by execute(), IsRequestedTerminate(), and RequestTerminate().
|
private |
Definition at line 38 of file dataprovider.hxx.
Referenced by execute().