casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes
casa::async::Thread Class Reference

#include <AsynchronousTools.h>

Inheritance diagram for casa::async::Thread:
casa::async::Logger::LoggerThread casa::asyncio::VLAT casa::FlagAgentBase casa::ResamplerWorklet casa::vi::VLAT casa::VWBT casa::FlagAgentClipping casa::FlagAgentDisplay casa::FlagAgentElevation casa::FlagAgentExtension casa::FlagAgentManual casa::FlagAgentQuack casa::FlagAgentRFlag casa::FlagAgentShadow casa::FlagAgentSummary casa::FlagAgentTimeFreqCrop

List of all members.

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

Detailed Description

Definition at line 167 of file AsynchronousTools.h.


Member Typedef Documentation

typedef void*(* casa::async::Thread::ThreadFunction)(void *)

Definition at line 171 of file AsynchronousTools.h.


Constructor & Destructor Documentation

virtual casa::async::Thread::~Thread ( ) [virtual]

Member Function Documentation

pthread_t casa::async::Thread::getId ( ) const
pid_t casa::async::Thread::gettid ( ) const
bool casa::async::Thread::isStarted ( ) const [protected]
virtual void* casa::async::Thread::run ( ) [protected, pure virtual]
virtual void casa::async::Thread::terminate ( ) [virtual]
static void* casa::async::Thread::threadFunction ( void *  ) [static, protected]

Member Data Documentation

pthread_t* casa::async::Thread::id_p [private]

Definition at line 192 of file AsynchronousTools.h.

Definition at line 193 of file AsynchronousTools.h.

Reimplemented in casa::FlagAgentBase, and casa::VWBT.

Definition at line 194 of file AsynchronousTools.h.


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