VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSharedMemoryTaskElement.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 #include <vlutil/vlShmPool.h>
16 
17 #include <string>
18 
19 namespace makVrv
20 {
21  class DtVideoFrameBuffer;
22 
28  {
29  public:
32  {
34  bool readingFrame[3];
35  int frameSize[3];
37  int width;
38  int height;
39  int format;
40  int bpp;
41  int packing;
42  };
43 
44  public:
48 
50  virtual ~DtSharedMemoryTaskElement();
51 
53  virtual DtUnicode sharedMemoryName() const;
54 
56  virtual void setSharedMemoryName( const DtUnicode& name );
57 
59  virtual int bufferSize() const;
60 
62  virtual void setBufferSize( int bufferSize );
63 
65  virtual void setFromRecord( const makArchives::DtImageTaskRecord& config );
66 
69  virtual bool configure();
70 
71  protected:
74 
76  void handleProcessFrame(DtVideoFrameBuffer* frame);
77 
78  private:
81 
84 
87 
88  protected:
91 
92  DtSharedMemoryPoolManager* mySharedMemoryPool;
94  char* myOffsets[3];
95  };
96 
103  {
104  public:
106  friend class DtVideoStreamManager;
107 
110 
113 
114  protected:
116  virtual DtImageTaskElement* create( DtDe& de,
117  DtProcessImageTask* owningTask );
118  };
119 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)