Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

RgbDataDst.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Stream_RgbDataDst_h
00002 #define Impala_Core_Stream_RgbDataDst_h
00003 
00004 #include <string>
00005 #include <iostream>
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Stream
00012 {
00013 
00014 
00015 class RgbDataDst
00016 {
00017 public:
00018 
00019     RgbDataDst(int dst, std::string dstName, int imageWidth, int imageHeight)
00020     {
00021         mDst = dst;
00022         mDstName = dstName;
00023         mImageWidth = imageWidth;
00024         mImageHeight = imageHeight;
00025     }
00026 
00027     virtual bool
00028     Valid()
00029     {
00030         return false;
00031     }
00032 
00033     virtual void
00034     NextFrame(unsigned char* dataPtr)
00035     {
00036     }
00037 
00038     virtual int
00039     WindowManage(int done = 0, char* statusBuf = 0)
00040     {
00041         // default : ignore
00042         return done;
00043     }
00044 
00045     virtual void
00046     Close()
00047     {
00048         // default : ignore
00049     }
00050 
00051 protected:
00052 
00053     int         mDst;
00054     std::string mDstName;
00055     int         mImageWidth;
00056     int         mImageHeight;
00057 
00058 };
00059 
00060 } // namespace Stream
00061 } // namespace Core
00062 } // namespace Impala
00063 
00064 #endif

Generated on Fri Mar 19 09:31:18 2010 for ImpalaSrc by  doxygen 1.5.1