casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
casa::async::Thread Class Referenceabstract

#include <AsynchronousTools.h>

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

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 164 of file AsynchronousTools.h.

Member Typedef Documentation

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

Definition at line 168 of file AsynchronousTools.h.

Constructor & Destructor Documentation

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

Member Function Documentation

pthread_t casa::async::Thread::getId ( ) const
pid_t casa::async::Thread::gettid ( ) const
bool casa::async::Thread::isStarted ( ) const
bool casa::async::Thread::isTerminationRequested ( ) const
void* casa::async::Thread::join ( )
virtual void* casa::async::Thread::run ( )
protectedpure virtual
void casa::async::Thread::startThread ( )
virtual void casa::async::Thread::terminate ( )
static void* casa::async::Thread::threadFunction ( void *  )

Member Data Documentation

pthread_t* casa::async::Thread::id_p

Definition at line 189 of file AsynchronousTools.h.

bool casa::async::Thread::started_p

Definition at line 190 of file AsynchronousTools.h.

volatile bool casa::async::Thread::terminationRequested_p

Definition at line 191 of file AsynchronousTools.h.

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