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_END_COMPONENT;
32 
33  // reimplemented (i2d::ICalibrationProvider)
34  virtual const i2d::ICalibration2d* GetCalibration() const;
35 
36 private:
37  I_REF(i2d::IMultiCalibrationProvider, m_multiCalibrationProviderCompPtr);
38  I_REF(iprm::ISelectionParam, m_calibrationSelectionCompPtr);
39 };
40 
41 
42 } // namespace iipr
43 
44 
45 #endif // !iipr_CSelectableCalibrationProviderComp_included
46 
47 
virtual const i2d::ICalibration2d * GetCalibration() const
Single 2D-calibration supplier implemented as a selector from a multi calibration provider...

© 2007-2011 Witold Gantzke and Kirill Lepskiy