Public Types | Public Member Functions | Protected Member Functions | List of all members
icam::CMultiCameraBitmapSupplierComp Class Reference

Implementation of multi-bitmap camera supplier. More...

#include <CMultiCameraBitmapSupplierComp.h>

Inheritance diagram for icam::CMultiCameraBitmapSupplierComp:
iinsp::TSupplierCompWrap< istd::TPointerVector< const iimg::IBitmap > > iimg::IMultiBitmapProvider i2d::ICalibrationProvider iinsp::CSupplierCompBase istd::IChangeable istd::IChangeable ilog::TLoggerCompWrap< Base > iinsp::ISupplier istd::IPolymorphic istd::IPolymorphic ilog::CLoggerBase istd::IChangeable ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic

Public Types

< istd::TPointerVector< const
iimg::IBitmap > > 
- Public Types inherited from iinsp::TSupplierCompWrap< istd::TPointerVector< const iimg::IBitmap > >
typedef CSupplierCompBase BaseClass
typedef istd::TPointerVector
< const iimg::IBitmap
- Public Types inherited from iinsp::CSupplierCompBase
 ID of messages. More...
typedef ilog::CLoggerComponentBase BaseClass
- Public Types inherited from iinsp::ISupplier
enum  WorkStatus {
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

virtual const iprm::IOptionsListGetBitmapListInfo () const
virtual int GetBitmapsCount () const
virtual const iimg::IBitmapGetBitmap (int bitmapIndex) const
virtual const i2d::ICalibration2dGetCalibration () const
- Public Member Functions inherited from iinsp::TSupplierCompWrap< istd::TPointerVector< const iimg::IBitmap > >
virtual int ProcessWorkOutput ()
virtual void ClearWorkResults ()
 Remove all stored work results. More...
- Public Member Functions inherited from iinsp::CSupplierCompBase
 CSupplierCompBase ()
virtual int GetWorkStatus () const
 Get status of last work. More...
virtual imod::IModelGetWorkStatusModel () 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
GetWorkMessages (int containerType) const
 Get messages outputted by this work. More...
virtual iprm::IParamsSetGetModelParametersSet () const
 Get parameter set using by this supplier. More...
- Public Member Functions inherited from ilog::ILoggable
virtual void SetLogPtr (IMessageConsumer *logPtr)=0
virtual IMessageConsumerGetLogPtr () 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 (ProductType &result) const
- Protected Member Functions inherited from iinsp::TSupplierCompWrap< istd::TPointerVector< const iimg::IBitmap > >
const istd::TPointerVector
< const iimg::IBitmap > * 
GetWorkProduct () const
 Get current work product, if work was done correctly. More...
virtual int ProduceObject (istd::TPointerVector< const iimg::IBitmap > &result) const =0
 Produce single object. More...
- Protected Member Functions inherited from iinsp::CSupplierCompBase
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 OnComponentCreated ()
virtual void OnComponentDestroyed ()
- Protected Member Functions inherited from ilog::CLoggerBase
virtual void DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const

Additional Inherited Members

- Protected Types inherited from iinsp::CSupplierCompBase
typedef imod::TModelWrap< StatusStatusModel
typedef imod::TModelWrap
< ilog::CMessageContainer
- Protected Attributes inherited from iinsp::TSupplierCompWrap< istd::TPointerVector< const iimg::IBitmap > >
< istd::TPointerVector< const
iimg::IBitmap > > 
- Protected Attributes inherited from iinsp::CSupplierCompBase
MessageContainer m_messageContainers [MTC_LAST+1]

Detailed Description

Implementation of multi-bitmap camera supplier.

This component works with a set of camera parameters and iterate this set during acquisition of the output bitmaps. The number of output bitmaps is equal the number of parameter sets in the parameter manager.

Definition at line 31 of file CMultiCameraBitmapSupplierComp.h.

Member Typedef Documentation

Definition at line 37 of file CMultiCameraBitmapSupplierComp.h.

Member Function Documentation

virtual const iimg::IBitmap* icam::CMultiCameraBitmapSupplierComp::GetBitmap ( int  bitmapIndex) const
virtual const iprm::IOptionsList* icam::CMultiCameraBitmapSupplierComp::GetBitmapListInfo ( ) const
virtual int icam::CMultiCameraBitmapSupplierComp::GetBitmapsCount ( ) const
virtual const i2d::ICalibration2d* icam::CMultiCameraBitmapSupplierComp::GetCalibration ( ) const
virtual bool icam::CMultiCameraBitmapSupplierComp::InitializeWork ( )

Called if the new work should be initialized.

Default implementation do nothing. It is dedicated to be overridden.

Reimplemented from iinsp::CSupplierCompBase.

virtual int icam::CMultiCameraBitmapSupplierComp::ProduceObject ( ProductType result) const

The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy