#include <AsynchronousTools.h>
Public Types | |
| typedef void *(* | ThreadFunction )(void *) |
Public Member Functions | |
| Thread () | |
| virtual | ~Thread () |
| pthread_t | getId () const |
| pid_t | gettid () const |
| bool | isTerminationRequested () const |
| void * | join () |
| void | startThread () |
| virtual void | terminate () |
Protected Member Functions | |
| bool | isStarted () const |
| virtual void * | run ()=0 |
Static Protected Member Functions | |
| static void * | threadFunction (void *) |
Private Attributes | |
| pthread_t * | id_p |
| bool | started_p |
| volatile bool | terminationRequested_p |
Definition at line 165 of file AsynchronousTools.h.
| typedef void*(* casa::async::Thread::ThreadFunction)(void *) |
Definition at line 169 of file AsynchronousTools.h.
| casa::async::Thread::Thread | ( | ) |
| virtual casa::async::Thread::~Thread | ( | ) | [virtual] |
| pthread_t casa::async::Thread::getId | ( | ) | const |
| pid_t casa::async::Thread::gettid | ( | ) | const |
| bool casa::async::Thread::isStarted | ( | ) | const [protected] |
| bool casa::async::Thread::isTerminationRequested | ( | ) | const |
| void* casa::async::Thread::join | ( | ) |
| virtual void* casa::async::Thread::run | ( | ) | [protected, pure virtual] |
| void casa::async::Thread::startThread | ( | ) |
| virtual void casa::async::Thread::terminate | ( | ) | [virtual] |
Reimplemented in casa::FlagAgentBase, casa::async::Logger::LoggerThread, casa::asyncio::VLAT, casa::vi::VLAT, and casa::VWBT.
Referenced by casa::ResamplerWorklet::~ResamplerWorklet().
| static void* casa::async::Thread::threadFunction | ( | void * | ) | [static, protected] |
pthread_t* casa::async::Thread::id_p [private] |
Definition at line 190 of file AsynchronousTools.h.
bool casa::async::Thread::started_p [private] |
Definition at line 191 of file AsynchronousTools.h.
volatile bool casa::async::Thread::terminationRequested_p [private] |
Reimplemented in casa::FlagAgentBase, and casa::VWBT.
Definition at line 192 of file AsynchronousTools.h.
1.6.1