CMemoryAcquisitionComp.h
Go to the documentation of this file.
1 #ifndef icam_CMemoryAcquisitionComp_included
2 #define icam_CMemoryAcquisitionComp_included
3 
4 
5 // ACF includes
7 #include "icomp/CComponentBase.h"
8 #include "ifile/IFileNameParam.h"
9 #include "iimg/CGeneralBitmap.h"
11 
12 // ACF-Solutions includes
14 
15 
16 namespace icam
17 {
18 
19 
24  public icomp::CComponentBase,
25  public iimg::CGeneralBitmap,
26  virtual public iproc::TSyncProcessorWrap<IBitmapAcquisition>
27 {
28 public:
31 
32  I_BEGIN_COMPONENT(CMemoryAcquisitionComp);
33  I_REGISTER_INTERFACE(IBitmapAcquisition);
34  I_REGISTER_INTERFACE(iimg::IBitmap);
35  I_END_COMPONENT;
36 
37  // reimplemented (iproc::IProcessor)
38  virtual int DoProcessing(
39  const iprm::IParamsSet* paramsPtr,
40  const istd::IPolymorphic* inputPtr,
41  istd::IChangeable* outputPtr,
42  ibase::IProgressManager* progressManagerPtr = NULL);
43 
44  // reimplemented (icam::IBitmapAcquisition)
45  virtual istd::CIndex2d GetBitmapSize(const iprm::IParamsSet* paramsPtr) const;
46 };
47 
48 
49 } // namespace icam
50 
51 
52 #endif // !icam_CMemoryAcquisitionComp_included
53 
54 
virtual int DoProcessing(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
Bitmap acquisition processor.
Wrapper of iproc::IProcessor for simple synchrone processor implementations.
Bitmap loader component implementing interfaces ifile::IFilePersistence and icam::IBitmapAcquisition...
virtual istd::CIndex2d GetBitmapSize(const iprm::IParamsSet *paramsPtr) const

© 2007-2011 Witold Gantzke and Kirill Lepskiy