TSnapBitmapSupplierComp.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 // ACF-Solutions includes
6 
7 
8 namespace icam
9 {
10 
11 
16 template<typename Bitmap>
18 {
19 public:
20  typedef Bitmap BitmapType;
21 
23 
24  I_BEGIN_COMPONENT(TSnapBitmapSupplierComp);
25  I_END_COMPONENT;
26 
27 protected:
28  // reimplemented (CSnapBitmapSupplierCompBase)
29  virtual iimg::IBitmap* CreateBitmap() const;
30 };
31 
32 
33 // reimplemented (CSnapBitmapSupplierCompBase)
34 
35 template<typename Bitmap>
37 {
38  return new BitmapType;
39 }
40 
41 
42 } // namespace icam
43 
44 
Basic implementation of bitmap supplier based on image acquisition.
CSnapBitmapSupplierCompBase BaseClass
virtual iimg::IBitmap * CreateBitmap() const
Generic implementation of the snap bitmap supplier.

© 2007-2017 Witold Gantzke and Kirill Lepskiy