gatb.core-API-0.0.0
IThread Class Referenceabstract

Define what a thread is. More...

#include <IThread.hpp>

Inheritance diagram for IThread:
Inheritance graph

Public Types

typedef long long Id
 

Public Member Functions

virtual Id getId () const =0
 
virtual void join ()=0
 
virtual ~IThread ()
 
- Public Member Functions inherited from ISmartPointer
virtual ~ISmartPointer ()
 
virtual void use ()=0
 
virtual void forget ()=0
 

Detailed Description

Define what a thread is.

Definition of a thread in an OS independent fashion. See below how to create a thread through a factory.

Member Typedef Documentation

typedef long long Id

We define a Id type.

Constructor & Destructor Documentation

virtual ~IThread ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual Id getId ( ) const
pure virtual

Wait the end of the thread.

virtual void join ( )
pure virtual

Wait the end of the thread.


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