2 * AtmoInput.h: abstract class for retrieving precalculated image data from
3 * different sources in the live view mode
6 * See the README.txt file for copyright information and how to reach the author(s).
14 #include "AtmoCalculations.h"
15 #include "AtmoPacketQueue.h"
16 #include "AtmoThread.h"
17 #include "AtmoDynData.h"
22 basic definition of an AtmoLight data/image source ...
24 class CAtmoInput
: public CThread
{
27 CAtmoDynData
*m_pAtmoDynData
;
28 CAtmoColorCalculator
*m_pAtmoColorCalculator
;
31 CAtmoInput(CAtmoDynData
*pAtmoDynData
);
32 virtual ~CAtmoInput(void);
34 // Opens the input-device.
35 // Returns true if the input-device was opened successfully.
36 virtual ATMO_BOOL
Open(void) { return ATMO_FALSE
; }
38 // Closes the input-device.
39 // Returns true if the input-device was closed successfully.
40 virtual ATMO_BOOL
Close(void) { return ATMO_FALSE
; }