CProcessedAcquisitionComp.h
Go to the documentation of this file.
1 #ifndef iipr_CProcessedAcquisitionComp_included
2 #define iipr_CProcessedAcquisitionComp_included
3 
4 
5 // ACF includes
7 
8 // ACF-Solutions includes
10 
11 
12 namespace iipr
13 {
14 
15 
16 class CProcessedAcquisitionComp: public iproc::TSyncProcessorCompBase<icam::IBitmapAcquisition>
17 {
18 public:
20 
21  I_BEGIN_COMPONENT(CProcessedAcquisitionComp);
22  I_ASSIGN(m_slaveAcquisitionCompPtr, "SlaveCamera", "Camera for real image acquisition", true, "SlaveCamera");
23  I_ASSIGN(m_processorCompPtr, "ImageProcessor", "Image processor", false, "ImageProcessor");
24  I_END_COMPONENT;
25 
26  // reimplemented (icam::IBitmapAcquisition)
27  virtual istd::CIndex2d GetBitmapSize(const iprm::IParamsSet* paramsPtr) const;
28 
29  // reimplemented iproc::TSyncProcessorWrap<icam::IBitmapAcquisition>
30  virtual int DoProcessing(
31  const iprm::IParamsSet* paramsPtr,
32  const istd::IPolymorphic* inputPtr,
33  istd::IChangeable* outputPtr,
34  ibase::IProgressManager* progressManagerPtr = NULL);
35 
36 private:
37  I_REF(icam::IBitmapAcquisition, m_slaveAcquisitionCompPtr);
38  I_REF(iproc::IProcessor, m_processorCompPtr);
39 };
40 
41 
42 } // namespace iipr
43 
44 
45 #endif // !iipr_CProcessedAcquisitionComp_included
46 
47 
Simple definition macro for a synchronous processor.
Bitmap acquisition processor.
virtual int DoProcessing(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
Do synchronized processing.
Interface for all synchrone and assynchrone processors with "push data" model.
Definition: IProcessor.h:24
iproc::TSyncProcessorCompBase< icam::IBitmapAcquisition > BaseClass
virtual istd::CIndex2d GetBitmapSize(const iprm::IParamsSet *paramsPtr) const
Get size of acquired bitmap for specified parameters.

© 2007-2011 Witold Gantzke and Kirill Lepskiy