LibreOffice Module sc (master) 1
|
Public Member Functions | |
ReaderThread (std::unique_ptr< SvStream > pData, size_t nColCount) | |
bool | isTerminateRequested () |
void | requestTerminate () |
void | endThread () |
void | waitForNewLines () |
DataStream::LinesType | popNewLines () |
void | resumeReadStream () |
bool | hasNewLines () const |
void | pushUsedLines (DataStream::LinesType pLines) |
std::mutex & | getLinesMutex () |
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 Member Functions | |
virtual void | execute () override |
Private Attributes | |
std::unique_ptr< SvStream > | mpStream |
size_t | mnColCount |
std::atomic< bool > | mbTerminate |
std::queue< DataStream::LinesType > | maPendingLines |
std::queue< DataStream::LinesType > | maUsedLines |
std::mutex | maMtxLines |
osl::Condition | maCondReadStream |
osl::Condition | maCondConsume |
orcus::csv::parser_config | maConfig |
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 96 of file datastream.cxx.
|
inline |
Definition at line 113 of file datastream.cxx.
|
inline |
Definition at line 133 of file datastream.cxx.
References maCondReadStream, and requestTerminate().
|
inlineoverrideprivatevirtual |
Implements salhelper::Thread.
Definition at line 174 of file datastream.cxx.
References isTerminateRequested(), maCondConsume, maCondReadStream, maConfig, maMtxLines, maPendingLines, maUsedLines, mnColCount, mpStream, parser, and requestTerminate().
|
inline |
Definition at line 168 of file datastream.cxx.
References maMtxLines.
|
inline |
Definition at line 158 of file datastream.cxx.
References maPendingLines.
|
inline |
|
inline |
Definition at line 145 of file datastream.cxx.
References maPendingLines.
|
inline |
Definition at line 163 of file datastream.cxx.
References maUsedLines.
|
inline |
Definition at line 128 of file datastream.cxx.
References mbTerminate.
Referenced by endThread(), and execute().
|
inline |
Definition at line 152 of file datastream.cxx.
References maCondReadStream, and maPendingLines.
|
inline |
Definition at line 139 of file datastream.cxx.
References maCondConsume.
|
private |
Definition at line 107 of file datastream.cxx.
Referenced by execute(), and waitForNewLines().
|
private |
Definition at line 106 of file datastream.cxx.
Referenced by endThread(), execute(), and resumeReadStream().
|
private |
Definition at line 109 of file datastream.cxx.
Referenced by execute(), and ReaderThread().
|
private |
Definition at line 104 of file datastream.cxx.
Referenced by execute(), and getLinesMutex().
|
private |
Definition at line 102 of file datastream.cxx.
Referenced by execute(), hasNewLines(), popNewLines(), and resumeReadStream().
|
private |
Definition at line 103 of file datastream.cxx.
Referenced by execute(), and pushUsedLines().
|
private |
Definition at line 100 of file datastream.cxx.
Referenced by isTerminateRequested(), and requestTerminate().
|
private |
Definition at line 99 of file datastream.cxx.
Referenced by execute().
|
private |
Definition at line 98 of file datastream.cxx.
Referenced by execute().