ULIS  dev4.0.7
Utility Library for Imaging Systems
Public Member Functions | Static Public Member Functions | Friends | List of all members
FEvent Class Reference

The FEvent class provides a way to get asynchronous status information about how a task is being processed, once it has been dispatched and scheduled on a multithreaded system, in coordination with a FThreadPool and a FCommandQueue. More...

Public Member Functions

 FEvent (const FEvent &)
 
 FEvent (const FOnEventComplete &iOnEventComplete=FOnEventComplete())
 
 ~FEvent ()
 
FEventoperator= (const FEvent &)
 
eEventStatus Status () const
 
void Wait () const
 

Static Public Member Functions

static FEvent NoOP ()
 

Friends

class FCommand
 
class FContext
 
class FInternalEvent
 

Detailed Description

The FEvent allows to get a handle of the chosen policy for a given task, and wether it has been completed or not. It is used in conjunction with FThreadPool, FSchedulePolicy, FCommandQueue and FContext.

See also
FContext
FSchedulePolicy
FThreadPool
FCPUInfo
FCommandQueue

Constructor & Destructor Documentation

◆ ~FEvent()

FEvent::~FEvent ( )

Destructor

◆ FEvent() [1/2]

FEvent::FEvent ( const FOnEventComplete iOnEventComplete = FOnEventComplete())

Constructor

◆ FEvent() [2/2]

FEvent::FEvent ( const FEvent )

Member Function Documentation

◆ NoOP()

static FEvent FEvent::NoOP ( )
static

◆ operator=()

FEvent& FEvent::operator= ( const FEvent )

◆ Status()

eEventStatus FEvent::Status ( ) const

◆ Wait()

void FEvent::Wait ( ) const

Friends And Related Function Documentation

◆ FCommand

friend class FCommand
friend

◆ FContext

friend class FContext
friend

◆ FInternalEvent

friend class FInternalEvent
friend