log4cplus  2.1.0
Public Member Functions | Protected Member Functions | List of all members
log4cplus::thread::AbstractThread Class Referenceabstract

There are many cross-platform C++ Threading libraries. More...

#include <threads.h>

Inheritance diagram for log4cplus::thread::AbstractThread:
[legend]
Collaboration diagram for log4cplus::thread::AbstractThread:
[legend]

Public Member Functions

 AbstractThread ()
 
 AbstractThread (const AbstractThread &)=delete
 
AbstractThreadoperator= (const AbstractThread &)=delete
 
bool isRunning () const
 
virtual void start ()
 
void join () const
 
virtual void run ()=0
 
- Public Member Functions inherited from log4cplus::helpers::SharedObject
void addReference () const LOG4CPLUS_NOEXCEPT
 
void removeReference () const
 

Protected Member Functions

virtual ~AbstractThread ()
 
- Protected Member Functions inherited from log4cplus::helpers::SharedObject
 SharedObject ()
 
 SharedObject (const SharedObject &)
 
 SharedObject (SharedObject &&)
 
virtual ~SharedObject ()
 
SharedObjectoperator= (const SharedObject &) LOG4CPLUS_NOEXCEPT
 
SharedObjectoperator= (SharedObject &&) LOG4CPLUS_NOEXCEPT
 

Additional Inherited Members

- Public Attributes inherited from log4cplus::helpers::SharedObject
thread::Mutex access_mutex
 

Detailed Description

There are many cross-platform C++ Threading libraries.

The goal of this class is not to replace (or match in functionality) those libraries. The goal of this class is to provide a simple Threading class with basic functionality.

Definition at line 75 of file threads.h.

Constructor & Destructor Documentation

◆ AbstractThread() [1/2]

log4cplus::thread::AbstractThread::AbstractThread ( )

◆ AbstractThread() [2/2]

log4cplus::thread::AbstractThread::AbstractThread ( const AbstractThread )
delete

◆ ~AbstractThread()

virtual log4cplus::thread::AbstractThread::~AbstractThread ( )
protectedvirtual

Member Function Documentation

◆ isRunning()

bool log4cplus::thread::AbstractThread::isRunning ( ) const

◆ join()

void log4cplus::thread::AbstractThread::join ( ) const

◆ operator=()

AbstractThread& log4cplus::thread::AbstractThread::operator= ( const AbstractThread )
delete

◆ run()

virtual void log4cplus::thread::AbstractThread::run ( )
pure virtual

◆ start()

virtual void log4cplus::thread::AbstractThread::start ( )
virtual

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