ldas-tools-al 2.6.4
Public Types | Public Member Functions | List of all members
LDASTools::AL::ThreadPool::UnaryFunction Class Referenceabstract

Base for unary functions to be used in ForEach call. More...

#include <ThreadPool.hh>

Public Types

enum  state { THREAD_POOL_TASK_ACTIVE , THREAD_POOL_TASK_IDLE , THREAD_POOL_TASK_ABANDONED }
 
typedef TaskThread element_type
 

Public Member Functions

virtual void operator() (const element_type &Task, state State)=0
 

Detailed Description

Base for unary functions to be used in ForEach call.

Member Typedef Documentation

◆ element_type

Member Enumeration Documentation

◆ state

Enumerator
THREAD_POOL_TASK_ACTIVE 
THREAD_POOL_TASK_IDLE 
THREAD_POOL_TASK_ABANDONED 

Member Function Documentation

◆ operator()()

virtual void LDASTools::AL::ThreadPool::UnaryFunction::operator() ( const element_type Task,
state  State 
)
pure virtual

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