VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtProcessImageTask Class Reference

DtProcessImageTask creates and manages all the process image pipeline elements. More...

Inheritance diagram for makVrv::DtProcessImageTask:
Inheritance graph
[legend]

Public Member Functions

 DtProcessImageTask (DtDe &de, const DtVideoStream &stream)
 CTOR.
virtual ~DtProcessImageTask ()
 DTOR.
virtual bool initialize (const makArchives::DtVideoStreamRecord::ImageTaskRecords &taskList, const makArchives::DtMetadataPublisherRecord &metadataConfig)
 Provide the image task with all the configuration data necessary to create the image task element pipeline and metadata publisher.
virtual void processImage (osg::ref_ptr< osg::Image > img)
 ProcessImage pushes the captured image onto the image processing queue (where it can be modified/operated on by the iamge task elements) and then ticks the metadata publisher.
const DtVideoStreamstream ()
 Get the video stream process image task is supporting.

Protected Member Functions

virtual DtImageTaskElementbuildPipeline (const makArchives::DtVideoStreamRecord::ImageTaskRecords &taskList)
 Create all the process image task elements specified in the ImageTaskRecords record.
virtual void setElementFromRecord (DtImageTaskElement *element, const makArchives::DtImageTaskRecord &taskRecord)
 Initialize a process image task element from the DtImageTaskRecord which caused its creation in buildPipeline.
virtual bool configureElement (DtImageTaskElement *element)
 Configure a process image task element based on its current initialization state.

Protected Attributes

DtDemyDe
const DtVideoStreammyStream
DtImageTaskElementmyPipeline
DtLocklessQueue
< DtVideoFrameBuffer * > 
myImageQueue
DtThreadStartSP myStart
DtThread * myThread
DtMetadataPublishermyMetadataPublisher
double myFrequency

Private Member Functions

 DtProcessImageTask ()
 This method is executed in a loop by the worker thread created when the image task is initialized.
 DtProcessImageTask (const DtProcessImageTask &orig)
 Copy CTOR (unimplemented)
DtProcessImageTaskoperator= (const DtProcessImageTask &rhs)
 Assignment operator (unimplemented)
virtual void run ()
 Function that will be called when the worker thread is started.

Detailed Description

DtProcessImageTask creates and manages all the process image pipeline elements.

Constructor & Destructor Documentation

makVrv::DtProcessImageTask::DtProcessImageTask ( DtDe de,
const DtVideoStream stream 
)

CTOR.

virtual makVrv::DtProcessImageTask::~DtProcessImageTask ( )
virtual

DTOR.

makVrv::DtProcessImageTask::DtProcessImageTask ( )
private

This method is executed in a loop by the worker thread created when the image task is initialized.

It runs all the process image task elements Default CTOR (unimplemented)

makVrv::DtProcessImageTask::DtProcessImageTask ( const DtProcessImageTask orig)
private

Copy CTOR (unimplemented)

Member Function Documentation

virtual bool makVrv::DtProcessImageTask::initialize ( const makArchives::DtVideoStreamRecord::ImageTaskRecords taskList,
const makArchives::DtMetadataPublisherRecord metadataConfig 
)
virtual

Provide the image task with all the configuration data necessary to create the image task element pipeline and metadata publisher.

virtual void makVrv::DtProcessImageTask::processImage ( osg::ref_ptr< osg::Image >  img)
virtual

ProcessImage pushes the captured image onto the image processing queue (where it can be modified/operated on by the iamge task elements) and then ticks the metadata publisher.

const DtVideoStream& makVrv::DtProcessImageTask::stream ( )

Get the video stream process image task is supporting.

virtual DtImageTaskElement* makVrv::DtProcessImageTask::buildPipeline ( const makArchives::DtVideoStreamRecord::ImageTaskRecords taskList)
protectedvirtual

Create all the process image task elements specified in the ImageTaskRecords record.

virtual void makVrv::DtProcessImageTask::setElementFromRecord ( DtImageTaskElement element,
const makArchives::DtImageTaskRecord taskRecord 
)
protectedvirtual

Initialize a process image task element from the DtImageTaskRecord which caused its creation in buildPipeline.

virtual bool makVrv::DtProcessImageTask::configureElement ( DtImageTaskElement element)
protectedvirtual

Configure a process image task element based on its current initialization state.

DtProcessImageTask& makVrv::DtProcessImageTask::operator= ( const DtProcessImageTask rhs)
private

Assignment operator (unimplemented)

virtual void makVrv::DtProcessImageTask::run ( )
privatevirtual

Function that will be called when the worker thread is started.

Member Data Documentation

DtDe& makVrv::DtProcessImageTask::myDe
protected
const DtVideoStream& makVrv::DtProcessImageTask::myStream
protected
DtImageTaskElement* makVrv::DtProcessImageTask::myPipeline
protected
DtLocklessQueue<DtVideoFrameBuffer*> makVrv::DtProcessImageTask::myImageQueue
protected
DtThreadStartSP makVrv::DtProcessImageTask::myStart
protected
DtThread* makVrv::DtProcessImageTask::myThread
protected
DtMetadataPublisher* makVrv::DtProcessImageTask::myMetadataPublisher
protected
double makVrv::DtProcessImageTask::myFrequency
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)