CSelectableCalibrationProviderComp.h
Go to the documentation of this file.
1 #ifndef iipr_CSelectableCalibrationProviderComp_included
2 #define iipr_CSelectableCalibrationProviderComp_included
3 
4 
5 // ACF includes
6 #include <ilog/TLoggerCompWrap.h>
7 #include <i2d/ICalibration2d.h>
10 #include <iprm/ISelectionParam.h>
11 
12 
13 namespace iipr
14 {
15 
16 
22  virtual public i2d::ICalibrationProvider
23 {
24 public:
26 
27  I_BEGIN_COMPONENT(CSelectableCalibrationProviderComp);
28  I_REGISTER_INTERFACE(i2d::ICalibrationProvider);
29  I_ASSIGN(m_multiCalibrationProviderCompPtr, "MultiCalibrationProvider", "Provider of the calibration list", true, "MultiCalibrationProvider");
30  I_ASSIGN(m_calibrationSelectionCompPtr, "CalibrationSelection", "Index of the calibration in the list", true, "CalibrationSelection");
31  I_ASSIGN(m_defaultCalibrationProviderCompPtr, "DefaultCalibrationProvider", "Provider of default calibration. E.g. in case of non-selected or non-available calibration", false, "DefaultCalibrationProvider");
32  I_END_COMPONENT;
33 
34  // reimplemented (i2d::ICalibrationProvider)
35  virtual const i2d::ICalibration2d* GetCalibration() const;
36 
37 private:
38  I_REF(i2d::IMultiCalibrationProvider, m_multiCalibrationProviderCompPtr);
39  I_REF(iprm::ISelectionParam, m_calibrationSelectionCompPtr);
40  I_REF(i2d::ICalibrationProvider, m_defaultCalibrationProviderCompPtr);
41 };
42 
43 
44 } // namespace iipr
45 
46 
47 #endif // !iipr_CSelectableCalibrationProviderComp_included
48 
49 
virtual const i2d::ICalibration2d * GetCalibration() const
Single 2D-calibration supplier implemented as a selector from a multi calibration provider...

© 2007-2017 Witold Gantzke and Kirill Lepskiy