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

#include <ModelViewCapture.h>

Collaboration diagram for QCaptureManager:
[legend]

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Constructor & Destructor Documentation

◆ QCaptureManager()

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

◆ ~QCaptureManager()

virtual ~QCaptureManager ( )
inlinevirtual

Member Function Documentation

◆ addCaptureRequest()

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

◆ addToCache()

void addToCache ( const CaptureCache & cache)
protected

◆ getAvailableFrame()

uint04 getAvailableFrame ( ) const
protected

◆ isCached()

bool isCached ( const CaptureInfo & info) const
virtual

◆ removeCaptureRequest()

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

◆ runCaptureRequest()

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 files: