#include <CSearchBasedFeaturesSupplierComp.h>
Public Types | |
typedef iinsp::TSupplierCompWrap < CFeaturesContainer > | BaseClass |
![]() | |
typedef CSupplierCompBase | BaseClass |
typedef CFeaturesContainer | 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 | 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 } |
Public Member Functions | |
CSearchBasedFeaturesSupplierComp () | |
virtual const iprm::IOptionsList * | GetCalibrationSelectionContraints () const |
virtual int | GetCalibrationsCount () const |
virtual const i2d::ICalibration2d * | GetCalibration (int calibrationIndex) const |
virtual int | GetFeaturesCount () const |
Get number of stored features. More... | |
virtual const imeas::INumericValue & | GetFeature (int index) const |
Get access to single feature. More... | |
virtual QDateTime | GetInformationTimeStamp () const |
virtual InformationCategory | GetInformationCategory () const |
virtual int | GetInformationId () const |
virtual QString | GetInformationDescription () const |
virtual QString | GetInformationSource () const |
virtual int | GetInformationFlags () const |
![]() | |
virtual int | ProcessWorkOutput () |
virtual void | ClearWorkResults () |
Remove all stored work results. More... | |
![]() | |
CSupplierCompBase () | |
virtual int | GetWorkStatus () const |
Get status of last work. More... | |
virtual imod::IModel * | GetWorkStatusModel () const |
Get access to the status model of the supplier. More... | |
virtual void | InvalidateSupplier () |
Called to signalize that this supplier is invalid. More... | |
virtual void | EnsureWorkInitialized () |
Force the supplier to initialize its work. More... | |
virtual void | EnsureWorkFinished () |
Ensure that all objects are produced. More... | |
virtual const ilog::IMessageContainer * | GetWorkMessages (int containerType) const |
Get messages outputted by this work. More... | |
virtual iprm::IParamsSet * | GetModelParametersSet () const |
Get parameter set using by this supplier. More... | |
![]() | |
virtual void | SetLogPtr (IMessageConsumer *logPtr)=0 |
virtual IMessageConsumer * | GetLogPtr () const =0 |
virtual void | SetTracingEnabled (bool trace)=0 |
virtual bool | IsTracingEnabled () const =0 |
Protected Member Functions | |
virtual bool | InitializeWork () |
Called if the new work should be initialized. More... | |
virtual int | ProduceObject (CFeaturesContainer &result) const |
virtual void | OnComponentCreated () |
virtual void | OnComponentDestroyed () |
![]() | |
const CFeaturesContainer * | GetWorkProduct () const |
Get current work product, if work was done correctly. More... | |
virtual int | ProduceObject (CFeaturesContainer &result) const =0 |
Produce single object. More... | |
![]() | |
virtual void | OnParametersChanged () |
Called if the supplier parameters was changed. More... | |
virtual void | RegisterSupplierInput (imod::IModel *modelPtr, ISupplier *supplierPtr=NULL) |
Register supplier input. More... | |
virtual void | UnregisterSupplierInput (imod::IModel *modelPtr) |
Unregister supplier input. More... | |
virtual QString | GetDiagnosticName () const |
Get supplier name used for diagnostic reasons. More... | |
virtual bool | IsMessageContainerSupported (int containerType) const |
Check if message container is supported. More... | |
virtual void | AddMessage (const istd::IInformationProvider *messagePtr, int containerType=MCT_RESULTS) const |
Add ilog::CMessage to the internal message container (also from const functions). More... | |
![]() | |
virtual void | DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const |
Additional Inherited Members | |
![]() | |
typedef imod::TModelWrap< Status > | StatusModel |
typedef imod::TModelWrap < ilog::CMessageContainer > | MessageContainer |
![]() | |
istd::TDelPtr< CFeaturesContainer > | m_productPtr |
![]() | |
MessageContainer | m_messageContainers [MTC_LAST+1] |
Definition at line 25 of file CSearchBasedFeaturesSupplierComp.h.
typedef iinsp::TSupplierCompWrap<CFeaturesContainer> iipr::CSearchBasedFeaturesSupplierComp::BaseClass |
Definition at line 32 of file CSearchBasedFeaturesSupplierComp.h.
iipr::CSearchBasedFeaturesSupplierComp::CSearchBasedFeaturesSupplierComp | ( | ) |
|
virtual |
Implements i2d::IMultiCalibrationProvider.
|
virtual |
Implements i2d::IMultiCalibrationProvider.
|
virtual |
Implements i2d::IMultiCalibrationProvider.
|
virtual |
Get access to single feature.
Implements iipr::IFeaturesProvider.
|
virtual |
Get number of stored features.
Implements iipr::IFeaturesProvider.
|
virtual |
Implements istd::IInformationProvider.
|
virtual |
Implements istd::IInformationProvider.
|
virtual |
Implements istd::IInformationProvider.
|
virtual |
Implements istd::IInformationProvider.
|
virtual |
Implements istd::IInformationProvider.
|
virtual |
Implements istd::IInformationProvider.
|
protectedvirtual |
Called if the new work should be initialized.
Default implementation do nothing. It is dedicated to be overridden.
Reimplemented from iinsp::CSupplierCompBase.
|
protectedvirtual |
Reimplemented from iinsp::CSupplierCompBase.
|
protectedvirtual |
Reimplemented from iinsp::CSupplierCompBase.
|
protectedvirtual |
© 2007-2017 Witold Gantzke and Kirill Lepskiy