casa
$Rev:20696$
|
#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 167 of file AsynchronousTools.h.
typedef void*(* casa::async::Thread::ThreadFunction)(void *) |
Definition at line 171 of file AsynchronousTools.h.
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] |
Implemented in casa::asyncio::VLAT, casa::vi::VLAT, casa::async::Logger::LoggerThread, casa::FlagAgentBase, casa::ResamplerWorklet, and casa::VWBT.
void casa::async::Thread::startThread | ( | ) |
virtual void casa::async::Thread::terminate | ( | ) | [virtual] |
Reimplemented in casa::async::Logger::LoggerThread, casa::asyncio::VLAT, casa::vi::VLAT, casa::FlagAgentBase, and casa::VWBT.
static void* casa::async::Thread::threadFunction | ( | void * | ) | [static, protected] |
pthread_t* casa::async::Thread::id_p [private] |
Definition at line 192 of file AsynchronousTools.h.
bool casa::async::Thread::started_p [private] |
Definition at line 193 of file AsynchronousTools.h.
volatile bool casa::async::Thread::terminationRequested_p [private] |
Reimplemented in casa::FlagAgentBase, and casa::VWBT.
Definition at line 194 of file AsynchronousTools.h.