log4cplus_thread_AbstractThread(3)

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

NAME

log4cplus::thread::AbstractThread - There are many cross-platform C++ Threading libraries.

SYNOPSIS

#include <threads.h>

Inherits log4cplus::helpers::SharedObject.

Inherited by log4cplus::helpers::ConnectorThread.

Public Member Functions


AbstractThread ()
AbstractThread (const AbstractThread &)=delete
AbstractThread & operator= (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 ()
SharedObject & operator= (const SharedObject &) LOG4CPLUS_NOEXCEPT
SharedObject & operator= (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

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

log4cplus::thread::AbstractThread::AbstractThread (const AbstractThread &) [delete]

virtual log4cplus::thread::AbstractThread::~AbstractThread () [protected], [virtual]

Member Function Documentation

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

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

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

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

Implemented in log4cplus::helpers::ConnectorThread.

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

Author

Generated automatically by Doxygen for log4cplus from the source code.

Mon Jun 5 2023 21:46:10 Version 2.0.7