6#ifndef iipr_CDelegatedBitmapSupplierComp_included
7#define iipr_CDelegatedBitmapSupplierComp_included
11#include <QtCore/QPair>
43 I_ASSIGN(m_bitmapCompPtr,
"BitmapObject",
"Bitmap object used if no slave supplier is provided",
false,
"BitmapObject");
44 I_ASSIGN_TO(m_bitmapModelCompPtr, m_bitmapCompPtr,
false);
45 I_ASSIGN(m_calibrationCompPtr,
"CalibrationObject",
"Calibration object used as image to log transformation, if no slave supplier is provided",
false,
"CalibrationObject");
46 I_ASSIGN_TO(m_calibrationModelCompPtr, m_calibrationCompPtr,
false);
47 I_ASSIGN(m_bitmapProviderCompPtr,
"SlaveSupplier",
"Slave supplier where all calls will be delegated",
false,
"SlaveSupplier");
48 I_ASSIGN_TO(m_bitmapSupplierCompPtr, m_bitmapProviderCompPtr,
false);
49 I_ASSIGN_TO(m_bitmapProviderModelCompPtr, m_bitmapProviderCompPtr,
false);
50 I_ASSIGN_TO(m_calibrationProviderCompPtr, m_bitmapProviderCompPtr,
false);
Common interface for an object, which delivers a 2D-calibration.
Definition of single plane bitmap.
Bitmap supplier allowing to access of produced bitmap.
Base interface for suppliers providing calculating of objects on demand ("pull data" model).
Image supplier delegating the calls to another one or accessing some bitmap object directly.
void EnsureWorkFinished() override
Ensure that all objects are produced.
const iimg::IBitmap * GetBitmap() const override
Get access to produced bitmap object.
void InvalidateSupplier() override
Called to signalize that this supplier is invalid.
int GetWorkStatus() const override
Get status of last work.
void ClearWorkResults() override
Remove all stored work results.
imod::IModel * GetWorkStatusModel() const override
Get access to the status model of the supplier.
void EnsureWorkInitialized() override
Force the supplier to initialize its work.
ilog::CLoggerComponentBase BaseClass
void OnComponentCreated() override
CDelegatedBitmapSupplierComp()
iprm::IParamsSet * GetModelParametersSet() const override
Get parameter set using by this supplier.
const i2d::ICalibration2d * GetCalibration() const override
Get access to transformation object, which transforms a local logical coordinate system to global one...
const ilog::IMessageContainer * GetWorkMessages(int containerType) const override
Get messages outputted by this work.
void OnComponentDestroyed() override
Common interface for a message container.
Wrapper provider of log-functionality for component based implementations.
Reflects the changes of observed objects as changes of some other object (over istd::IChangeable),...
Common interface for model objects, that supports Model/Observer design pattern.
Set of general parameters.
Common interface for data model objects, which can be changed.
Contains the image processing classes.