00001 /* 00002 * AtmoInput.h: abstract class for retrieving precalculated image data from 00003 * different sources in the live view mode 00004 * 00005 * 00006 * See the README.txt file for copyright information and how to reach the author(s). 00007 * 00008 * $Id: 0425eb1bbc4ee267415a744cc67abef151314a5b $ 00009 */ 00010 #ifndef _AtmoInput_h_ 00011 #define _AtmoInput_h_ 00012 00013 #include "AtmoDefs.h" 00014 #include "AtmoCalculations.h" 00015 #include "AtmoPacketQueue.h" 00016 #include "AtmoThread.h" 00017 #include "AtmoDynData.h" 00018 00019 class CAtmoDynData; 00020 00021 /* 00022 basic definition of an AtmoLight data/image source ... 00023 */ 00024 class CAtmoInput : public CThread { 00025 00026 protected: 00027 CAtmoDynData *m_pAtmoDynData; 00028 CAtmoColorCalculator *m_pAtmoColorCalculator; 00029 00030 public: 00031 CAtmoInput(CAtmoDynData *pAtmoDynData); 00032 virtual ~CAtmoInput(void); 00033 00034 // Opens the input-device. 00035 // Returns true if the input-device was opened successfully. 00036 virtual ATMO_BOOL Open(void) { return ATMO_FALSE; } 00037 00038 // Closes the input-device. 00039 // Returns true if the input-device was closed successfully. 00040 virtual ATMO_BOOL Close(void) { return ATMO_FALSE; } 00041 00042 }; 00043 00044 #endif
1.5.6