![]() |
VR-Forces 4.7 Class Documentation
|
DtProcessImageTask creates and manages all the process image pipeline elements. More...

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 | process (const DtReadFramebufferProcessData &data) |
| ProcessImage pushes the captured image onto the image processing queue (where it can be modified/operated on by the image task elements) and then ticks the metadata publisher. | |
| const DtVideoStream & | stream () |
| Get the video stream process image task is supporting. | |
Protected Member Functions | |
| virtual DtImageTaskElement * | buildPipeline (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 | |
| DtDe & | myDe |
| const DtVideoStream & | myStream |
| DtImageTaskElement * | myPipeline |
| DtLocklessQueue < DtVideoFrameBuffer * > | myImageQueue |
| DtThreadStartSP | myStart |
| DtThread * | myThread |
| DtMetadataPublisher * | myMetadataPublisher |
| double | myFrequency |
| DtLocklessQueue < DtVideoFrameBuffer * > | myVideoFrameBufferPool |
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) | |
| DtProcessImageTask & | operator= (const DtProcessImageTask &rhs) |
| Assignment operator (unimplemented) | |
| virtual void | run () |
| Function that will be called when the worker thread is started. | |
DtProcessImageTask creates and manages all the process image pipeline elements.
| makVrv::DtProcessImageTask::DtProcessImageTask | ( | DtDe & | de, |
| const DtVideoStream & | stream | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
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)
|
private |
Copy CTOR (unimplemented)
|
virtual |
Provide the image task with all the configuration data necessary to create the image task element pipeline and metadata publisher.
|
virtual |
ProcessImage pushes the captured image onto the image processing queue (where it can be modified/operated on by the image task elements) and then ticks the metadata publisher.
| const DtVideoStream& makVrv::DtProcessImageTask::stream | ( | ) |
Get the video stream process image task is supporting.
|
protectedvirtual |
Create all the process image task elements specified in the ImageTaskRecords record.
|
protectedvirtual |
Initialize a process image task element from the DtImageTaskRecord which caused its creation in buildPipeline.
|
protectedvirtual |
Configure a process image task element based on its current initialization state.
|
private |
Assignment operator (unimplemented)
|
privatevirtual |
Function that will be called when the worker thread is started.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |