CBlobFilterParamsComp.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 // ACF includes
5 #include <icomp/CComponentBase.h>
6 
7 // ACF-Solutions includes
9 
10 
11 namespace iblob
12 {
13 
14 
16  public icomp::CComponentBase,
17  public CBlobFilterParams
18 {
19 public:
21 
22  I_BEGIN_COMPONENT(CBlobFilterParamsComp);
23  I_REGISTER_INTERFACE(iblob::IBlobFilterParams);
24  I_REGISTER_INTERFACE(iser::ISerializable);
25  I_REGISTER_INTERFACE(istd::IChangeable);
26  I_ASSIGN(m_supportedPropertiesCompPtr, "SupportedProperties", "Provides list of features supported for filtering", true, "SupportedProperties");
27  I_ASSIGN(m_calibrationCompPtr, "Calibration", "Calibration associated with this object", false, "Calibration");
28  I_END_COMPONENT;
29 
30  // reimplemented (i2d::ICalibrationProvider)
31  virtual const i2d::ICalibration2d* GetCalibration() const;
32 
33 protected:
34  // reimplemented (icomp::CComponentBase)
35  void OnComponentCreated();
36 
37 private:
38  I_REF(iprm::IOptionsList, m_supportedPropertiesCompPtr);
39  I_REF(i2d::ICalibration2d, m_calibrationCompPtr);
40 };
41 
42 
43 } // namespace iblob
44 
45 
virtual const i2d::ICalibration2d * GetCalibration() const
Interface for parameters of the blob filtering.

© 2007-2017 Witold Gantzke and Kirill Lepskiy