Namespace: Rx::LFR – Class: CudaUploadQueue – Header: Rx.LFR/CudaUploadQueue.h
CudaUploadQueue Class
#include "Rx.LFR/CudaUploadQueue.h"
class CudaUploadQueue : public CPimpl<CudaUploadQueue_Impl, ECudaUploadQueueInterface>
An image queue that is optimized for uploading Rx::CRxImage to a GPU using a given Rx::LFR::CCudaCompute instance.
Constructors
CudaUploadQueue() | Default constructor. |
CudaUploadQueue(cudaUploadQueue) | Move constructor. |
Destructor
~CudaUploadQueue() | Destructor. |
Methods
Initialize(maxQueueSize, overwriteEnabled) | Initializes this queue by pushing the given amount of images into the producer queue. |
Destroy() | Destroys this queue. |
ProduceImage(image) | Produces an image by copying the given image into the consumer queue. |
ConsumeImage(cudaCompute) | Consumes an available image by uploading it into the given CUDA compute instance. |
WaitForImageAvailable(ms) | Waits until an image is available in the consumer queue or a timeout occurred. |
GetImageAvailableWin32Handle() | Returns the native windows handle of the image-available-event. This can be used in functions like WaitForSingleObject. |
GetImpl() | Gets the non constant implementation. (Inherited from CPimpl) |
GetImpl() | Gets the constant implementation. (Inherited from CPimpl) |
GetInterface(eInterface) | Gets the interface defined by the given interface ID. (Inherited from CPimpl) |
GetInterface(eInterface) | Gets the interface defined by the given interface ID. (Inherited from CPimpl) |
GetInterface(eInterface) | Gets the interface defined by the given interface ID. (Inherited from CPimpl) |
GetInterface(eInterface) | Gets the interface defined by the given interface ID. (Inherited from CPimpl) |
HasInterface(eInterface) | Queries if this object has the given interface. (Inherited from CPimpl) |