VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtImageTaskElement.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 namespace makArchives
16 {
17  class DtImageTaskRecord;
18 }
19 
20 namespace makVrv
21 {
26  {
27  public:
30 
32  virtual ~DtImageTaskElement();
33 
36  virtual void setFromRecord( const makArchives::DtImageTaskRecord& config );
37 
40  virtual bool configure();
41 
45  void preFrame();
46 
50  void processFrame( DtVideoFrameBuffer* frame );
51 
55  void postFrame();
56 
58  virtual void attach( DtImageTaskElement* next );
59 
60  protected:
62  DtImageTaskElement(DtDe& de, DtProcessImageTask* owningTask);
63 
65  virtual void handlePreFrame();
66 
68  virtual void handlePostFrame();
69 
71  virtual void handleProcessFrame( DtVideoFrameBuffer* frame ) = 0;
72 
73  private:
76 
79 
81  DtImageTaskElement& operator=( const DtImageTaskElement& orig );
82 
83  protected:
90  };
91 
96  {
97  public:
99  friend class DtVideoStreamManager;
100 
103 
105  virtual ~DtImageTaskElementCreator();
106 
107  protected:
109  virtual DtImageTaskElement* create( DtDe& de,
110  DtProcessImageTask* owningTask )= 0;
111  };
112 }
DtImageTaskElement * myNextElement
Next task element to process.
Definition: DtImageTaskElement.h:89
Record for a sensor definition.
Definition: DtImageTaskRecord.h:20
#define DT_DLL_VRVVIDEOSTREAM
Definition: vrvVideoStream.h:20
Contains the DtProcessImageTask class declaration.
DtDe & myDe
DtDe.
Definition: DtImageTaskElement.h:85
DtVideoStreamManager is a singleton class that manages DtVideoStreams in VR-Vantage.
Definition: DtVideoStreamManager.h:35
The DtImageTaskElement is an abstract base class for all image task elements. It defines the common i...
Definition: DtImageTaskElement.h:25
DtImageTaskElementCreator is the common base class for all image task element creators.
Definition: DtImageTaskElement.h:95
DtProcessImageTask creates and manages all the process image pipeline elements.
Definition: DtProcessImageTask.h:35
DtProcessImageTask * myOwningTask
Definition: DtImageTaskElement.h:87
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Contains DLL export macros.
The image as initially captured from the camera is placed into a DtVideoFrameBuffer. Instances of DtVideoFrameBuffer are placed on a queue for further processing by the process image task elements.
Definition: DtVideoFrameBuffer.h:20

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)