Image supplier providing processed image from some other input image supplier.
More...
|
typedef iinsp::TSupplierCompWrap< std::unique_ptr< iimg::IBitmap > > | BaseClass |
|
typedef CSupplierCompBase | BaseClass |
|
typedef std::unique_ptr< iimg::IBitmap > | ProductType |
|
enum | MessageId { MI_DURATION_TIME = 0x077a1b
, MI_GEOMETRICAL_RESULT
, MI_SUPPLIER_RESULTS_STATUS
, MI_INTERMEDIATE
} |
| ID of messages. More...
|
|
typedef ilog::CLoggerComponentBase | BaseClass |
|
enum | MessageId { MI_BAD_DEPENDENCY = 0x8a340
} |
|
typedef Base | BaseClass |
|
typedef ilog::CLoggerBase | BaseClass2 |
|
enum | WorkStatus {
WS_INVALID
, WS_INIT
, WS_LOCKED
, WS_OK
,
WS_CANCELED
, WS_FAILED
} |
|
enum | ChangeFlags { CF_SUPPLIER_RESULTS = 0x6326415
} |
| Data model change notification flags. More...
|
|
enum | MessageContainerType { MCT_RESULTS
, MCT_TEMP
, MTC_LAST = MCT_TEMP
} |
|
enum | ChangeFlags {
CF_ICF_INTERNAL = 0
, CF_ALL_DATA
, CF_ANY
, CF_DESTROYING
,
CF_DELEGATED
, CF_NO_UNDO
} |
| Data model change notification flags. More...
|
|
enum | SupportedOperations {
SO_NONE = 0
, SO_OBSERVE = 1 << 0
, SO_COPY = 1 << 1
, SO_CLONE = 1 << 2
,
SO_COMPARE = 1 << 3
, SO_RESET = 1 << 4
, SO_CHANGE_LOCK = 1 << 5
} |
| Flags for supported operations. More...
|
|
enum | CompatibilityMode { CM_STRICT
, CM_WITHOUT_REFS
, CM_WITH_REFS
, CM_CONVERT
} |
| Control how relationship betweeen objects are interpreted. More...
|
|
|
bool | EnsureBitmapCreated (ProductType &result) const |
|
virtual iproc::IProcessor * | GetImageProcessor () const |
| Get access to the image processor used for process the input bitmap.
|
|
int | ProduceObject (ProductType &result) const override |
| Produce single object.
|
|
void | OnComponentCreated () override |
|
void | OnComponentDestroyed () override |
|
virtual std::unique_ptr< iimg::IBitmap > | CreateBitmap () const =0 |
|
const std::unique_ptr< iimg::IBitmap > * | GetWorkProduct () const |
| Get current work product, if work was done correctly.
|
|
virtual bool | InitializeWork () |
| Called if the new work should be initialized.
|
|
virtual void | OnParametersChanged () |
| Called if the supplier parameters was changed.
|
|
virtual void | RegisterSupplierInput (imod::IModel *modelPtr, ISupplier *supplierPtr=nullptr) |
| Register supplier input.
|
|
virtual void | UnregisterSupplierInput (imod::IModel *modelPtr) |
| Unregister supplier input.
|
|
virtual QString | GetDiagnosticName () const |
| Get supplier name used for diagnostic reasons.
|
|
virtual bool | IsMessageContainerSupported (int containerType) const |
| Check if message container is supported.
|
|
virtual void | AddMessage (const istd::IInformationProvider *messagePtr, int containerType=MCT_RESULTS) const |
| Add ilog::CMessage to the internal message container (also from const functions).
|
|
void | OnComponentCreated () override |
|
void | OnComponentDestroyed () override |
|
virtual void | DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override |
| Decorate message parts before outputting.
|
|
void | OnComponentCreated () override |
|
void | OnComponentDestroyed () override |
|
bool | IsVerboseEnabled () const |
| Check if verbose messages are enabled.
|
|
bool | SendVerboseMessage (const QString &message, const QString &messageSource=QString()) const |
| Send verbose message.
|
|
bool | SendInfoMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| Send info message to log.
|
|
bool | SendWarningMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| Send warning message to log.
|
|
bool | SendErrorMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| Send error message to log.
|
|
bool | SendCriticalMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| Send critical message to log.
|
|
bool | SendInfoMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| Send once info message to log.
|
|
bool | SendWarningMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| Send once warning message to log.
|
|
bool | SendErrorMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| Send once error message to log.
|
|
bool | SendCriticalMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| Send once critical message to log.
|
|
bool | SendUserMessage (const istd::IInformationProvider *messagePtr) const |
| Send message with user object.
|
|
bool | AllowMessageOnceAgain (int id) |
| Reset message lock.
|
|
bool | IsLogConsumed (const istd::IInformationProvider::InformationCategory *categoryPtr=nullptr, const int *flagsPtr=nullptr) const override |
| Check if any log message is consumed.
|
|
bool | SendLogMessage (istd::IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const override |
| Send any message to log.
|
|
virtual void | OnBeginChanges () |
| Callback function for begin change event.
|
|
virtual void | OnEndChanges (const ChangeSet &changeSet) |
| Callback function for end change event.
|
|
Image supplier providing processed image from some other input image supplier.
This implementation delegates the provided input calibration and has the role of the calibration provider. If the connected processor creates a new calibration, then she should be pushed into the 'OutputBitmapCalibration'. In this case it will be the provided calibration
Definition at line 27 of file CProcessedBitmapSupplierComp.h.