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

The FCommandQueue class provides a way to enqueue tasks for being processed asynchronously in coordination with a FThreadPool. More...

Public Member Functions

 FCommandQueue (const FCommandQueue &)=delete
 
 FCommandQueue (FThreadPool &iPool)
 
 ~FCommandQueue ()
 
void Fence ()
 
void Finish ()
 
void Flush ()
 
FCommandQueueoperator= (const FCommandQueue &)=delete
 

Friends

class FContext
 

Detailed Description

The FCommandQueue stores a TQueue of FCommand and schedules the commands on the FThreadPool.

See also
FCommand
FThreadPool

Constructor & Destructor Documentation

◆ ~FCommandQueue()

FCommandQueue::~FCommandQueue ( )

Destructor

◆ FCommandQueue() [1/2]

FCommandQueue::FCommandQueue ( FThreadPool iPool)

Constructor

◆ FCommandQueue() [2/2]

FCommandQueue::FCommandQueue ( const FCommandQueue )
delete

Member Function Documentation

◆ Fence()

void FCommandQueue::Fence ( )

Wait for completion of all already issued commands

◆ Finish()

void FCommandQueue::Finish ( )

Issue all commands and wait for completion

◆ Flush()

void FCommandQueue::Flush ( )

Issue all commands and return immediately.

◆ operator=()

FCommandQueue& FCommandQueue::operator= ( const FCommandQueue )
delete

Friends And Related Function Documentation

◆ FContext

friend class FContext
friend