LibreOffice Module cppu (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
cppu_threadpool::ORequestThread Class Reference

#include <thread.hxx>

Inheritance diagram for cppu_threadpool::ORequestThread:
[legend]
Collaboration diagram for cppu_threadpool::ORequestThread:
[legend]

Public Member Functions

 ORequestThread (ThreadPoolHolder aThreadPool, JobQueue *, ::rtl::ByteSequence aThreadId, bool bAsynchron)
 
virtual ~ORequestThread () override
 
void setTask (JobQueue *, const ::rtl::ByteSequence &aThreadId, bool bAsynchron)
 
bool launch ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Static Public Member Functions

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)
 

Private Member Functions

virtual void SAL_CALL run () override
 
virtual void SAL_CALL onTerminated () override
 

Private Attributes

ThreadPoolHolder m_aThreadPool
 
JobQueuem_pQueue
 
::rtl::ByteSequence m_aThreadId
 
bool m_bAsynchron
 

Additional Inherited Members

- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 34 of file thread.hxx.

Constructor & Destructor Documentation

◆ ORequestThread()

cppu_threadpool::ORequestThread::ORequestThread ( ThreadPoolHolder  aThreadPool,
JobQueue ,
::rtl::ByteSequence  aThreadId,
bool  bAsynchron 
)

Definition at line 94 of file thread.cxx.

◆ ~ORequestThread()

cppu_threadpool::ORequestThread::~ORequestThread ( )
overridevirtual

Definition at line 104 of file thread.cxx.

Member Function Documentation

◆ launch()

bool cppu_threadpool::ORequestThread::launch ( )

◆ onTerminated()

void cppu_threadpool::ORequestThread::onTerminated ( )
overrideprivatevirtual

Definition at line 138 of file thread.cxx.

References m_aThreadPool, and salhelper::SimpleReferenceObject::release().

Referenced by run().

◆ operator delete()

static void cppu_threadpool::ORequestThread::operator delete ( void *  pointer)
inlinestatic

Definition at line 51 of file thread.hxx.

◆ operator new()

static void * cppu_threadpool::ORequestThread::operator new ( std::size_t  size)
inlinestatic

Definition at line 48 of file thread.hxx.

References size.

◆ run()

void cppu_threadpool::ORequestThread::run ( )
overrideprivatevirtual

◆ setTask()

void cppu_threadpool::ORequestThread::setTask ( JobQueue ,
const ::rtl::ByteSequence &  aThreadId,
bool  bAsynchron 
)

Definition at line 106 of file thread.cxx.

References m_aThreadId, m_bAsynchron, and m_pQueue.

Member Data Documentation

◆ m_aThreadId

::rtl::ByteSequence cppu_threadpool::ORequestThread::m_aThreadId
private

Definition at line 60 of file thread.hxx.

Referenced by run(), and setTask().

◆ m_aThreadPool

ThreadPoolHolder cppu_threadpool::ORequestThread::m_aThreadPool
private

Definition at line 58 of file thread.hxx.

Referenced by launch(), onTerminated(), and run().

◆ m_bAsynchron

bool cppu_threadpool::ORequestThread::m_bAsynchron
private

Definition at line 61 of file thread.hxx.

Referenced by run(), and setTask().

◆ m_pQueue

JobQueue* cppu_threadpool::ORequestThread::m_pQueue
private

Definition at line 59 of file thread.hxx.

Referenced by run(), and setTask().


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