API Documentation
Loading...
Searching...
No Matches
QCaptureManager Class Reference

An interface used to manage multiple CaptureRequests and scedule their completion. More...

#include <ModelViewCapture.h>

Collaboration diagram for QCaptureManager:
[legend]

Public Member Functions

virtual void addCaptureRequest (const ConstPointer< CaptureRequest > &request)
 
virtual bool isCached (const CaptureInfo &info) const
 
 QCaptureManager (const DynamicPointer< GraphicsDevice > &device, QTModelManager *manager, uint04 size)
 
virtual void removeCaptureRequest (const ConstPointer< CaptureRequest > &request)
 
virtual void runCaptureRequest (const ConstPointer< CaptureRequest > &request)
 
virtual ~QCaptureManager ()
 

Protected Member Functions

void addToCache (const CaptureCache &cache)
 
uint04 getAvailableFrame () const
 
uint04 searchCache (const CaptureInfo &info) const
 
uint04 takeAvailableFrame () const
 

Protected Attributes

Buffer< CaptureCachem_capture_cache
 
Buffer< QModelViewCapture * > m_capture_frames
 
DynamicPointer< GraphicsDevicem_device
 
QTModelManagerm_manager
 
Dictionary< UUID, uint04m_pending_requests
 

Detailed Description

An interface used to manage multiple CaptureRequests and scedule their completion.


Constructor & Destructor Documentation

◆ QCaptureManager()

QCaptureManager ( const DynamicPointer< GraphicsDevice > & device,
QTModelManager * manager,
uint04 size )

◆ ~QCaptureManager()

virtual ~QCaptureManager ( )
inlinevirtual

Member Function Documentation

◆ addCaptureRequest()

virtual void addCaptureRequest ( const ConstPointer< CaptureRequest > & request)
virtual

◆ addToCache()

void addToCache ( const CaptureCache & cache)
protected

◆ getAvailableFrame()

uint04 getAvailableFrame ( ) const
protected

◆ isCached()

virtual bool isCached ( const CaptureInfo & info) const
virtual

◆ removeCaptureRequest()

virtual void removeCaptureRequest ( const ConstPointer< CaptureRequest > & request)
virtual

◆ runCaptureRequest()

virtual void runCaptureRequest ( const ConstPointer< CaptureRequest > & request)
virtual

◆ searchCache()

uint04 searchCache ( const CaptureInfo & info) const
protected

◆ takeAvailableFrame()

uint04 takeAvailableFrame ( ) const
protected

Member Data Documentation

◆ m_capture_cache

Buffer<CaptureCache> m_capture_cache
mutableprotected

◆ m_capture_frames

Buffer<QModelViewCapture*> m_capture_frames
protected

◆ m_device

DynamicPointer<GraphicsDevice> m_device
protected

◆ m_manager

QTModelManager* m_manager
protected

◆ m_pending_requests

Dictionary<UUID, uint04> m_pending_requests
protected

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