Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
iqtinsp::TSupplierGuiCompBase< UI > Class Template Referenceabstract

#include <TSupplierGuiCompBase.h>

Inheritance diagram for iqtinsp::TSupplierGuiCompBase< UI >:
iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > > iqt2d::IViewExtender istd::IPolymorphic iqtinsp::TGeneralSupplierGuiComp< UI >

Classes

class  ParamsObserver
 
class  StatusObserver
 

Public Types

typedef
iqt2d::TViewExtenderCompBase
< iqtgui::TDesignerGuiObserverCompBase
< UI, iinsp::ISupplier > > 
BaseClass
 
- Public Types inherited from iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > >
typedef
iqtgui::TDesignerGuiObserverCompBase
< UI, iinsp::ISupplier
BaseClass
 

Public Member Functions

 TSupplierGuiCompBase ()
 
virtual void AddItemsToScene (iqt2d::IViewProvider *providerPtr, int flags)
 
virtual void RemoveItemsFromScene (iqt2d::IViewProvider *providerPtr)
 
- Public Member Functions inherited from iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > >
 TViewExtenderCompBase ()
 

Protected Types

typedef BaseClass::Shapes Shapes
 
- Protected Types inherited from iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > >
enum  ExtenderMode
 
typedef istd::TPointerVector
< iview::IShape
Shapes
 
typedef QMap< IViewProvider
*, Shapes
ShapesMap
 

Protected Member Functions

bool AreParamsEditable () const
 Check, if parameters are correct connected to GUI and can be editable. More...
 
bool IsLoadParamsSupported () const
 Check if parameter loading is supported. More...
 
bool IsSaveParamsSupported () const
 Check if parameter storing is supported. More...
 
bool LoadParams ()
 Load parameters from external source (file). More...
 
bool SaveParams ()
 Save parameters for example to file. More...
 
bool DoTest ()
 Do inspection test. More...
 
virtual void UpdateVisualStatus ()
 Update visual status of supplier state. More...
 
virtual const
i2d::ICalibrationProvider
ExtractCalibrationProvider () const
 Extract calibration provider from the observed object. More...
 
virtual void OnSupplierParamsChanged ()
 Method will be called every time if the parameter set of the supplier has been changed. More...
 
virtual void OnGuiModelAttached ()
 
virtual void OnGuiModelDetached ()
 
virtual void CreateShapes (int sceneId, Shapes &result)
 
virtual void AfterUpdate (imod::IModel *modelPtr, const istd::IChangeable::ChangeSet &changeSet)
 
virtual QWidget * GetParamsWidget () const =0
 Get parameters widget object. More...
 
- Protected Member Functions inherited from iqt2d::TViewExtenderCompBase< iqtgui::TDesignerGuiObserverCompBase< UI, iinsp::ISupplier > >
bool IsViewIdSupported (int viewId) const
 
const ShapesMapGetShapesMap () const
 
void UpdateAllViews ()
 

Protected Attributes

ParamsObserver m_paramsObserver
 
StatusObserver m_statusObserver
 

Detailed Description

template<class UI>
class iqtinsp::TSupplierGuiCompBase< UI >

Definition at line 36 of file TSupplierGuiCompBase.h.

Member Typedef Documentation

Definition at line 42 of file TSupplierGuiCompBase.h.

template<class UI>
typedef BaseClass::Shapes iqtinsp::TSupplierGuiCompBase< UI >::Shapes
protected

Definition at line 60 of file TSupplierGuiCompBase.h.

Constructor & Destructor Documentation

template<class UI >
iqtinsp::TSupplierGuiCompBase< UI >::TSupplierGuiCompBase ( )

Definition at line 204 of file TSupplierGuiCompBase.h.

Member Function Documentation

template<class UI >
void iqtinsp::TSupplierGuiCompBase< UI >::AddItemsToScene ( iqt2d::IViewProvider providerPtr,
int  flags 
)
virtual
template<class UI >
void iqtinsp::TSupplierGuiCompBase< UI >::AfterUpdate ( imod::IModel modelPtr,
const istd::IChangeable::ChangeSet changeSet 
)
protectedvirtual
template<class UI >
bool iqtinsp::TSupplierGuiCompBase< UI >::AreParamsEditable ( ) const
protected

Check, if parameters are correct connected to GUI and can be editable.

Definition at line 276 of file TSupplierGuiCompBase.h.

template<class UI >
void iqtinsp::TSupplierGuiCompBase< UI >::CreateShapes ( int  sceneId,
Shapes result 
)
protectedvirtual
template<class UI >
bool iqtinsp::TSupplierGuiCompBase< UI >::DoTest ( )
protected
template<class UI >
const i2d::ICalibrationProvider * iqtinsp::TSupplierGuiCompBase< UI >::ExtractCalibrationProvider ( ) const
protectedvirtual

Extract calibration provider from the observed object.

Definition at line 449 of file TSupplierGuiCompBase.h.

References NULL.

template<class UI>
virtual QWidget* iqtinsp::TSupplierGuiCompBase< UI >::GetParamsWidget ( ) const
protectedpure virtual
template<class UI >
bool iqtinsp::TSupplierGuiCompBase< UI >::IsLoadParamsSupported ( ) const
protected

Check if parameter loading is supported.

Definition at line 283 of file TSupplierGuiCompBase.h.

References iinsp::ISupplier::GetModelParametersSet(), and NULL.

template<class UI >
bool iqtinsp::TSupplierGuiCompBase< UI >::IsSaveParamsSupported ( ) const
protected

Check if parameter storing is supported.

Definition at line 303 of file TSupplierGuiCompBase.h.

References iinsp::ISupplier::GetModelParametersSet(), and NULL.

template<class UI >
bool iqtinsp::TSupplierGuiCompBase< UI >::LoadParams ( )
protected

Load parameters from external source (file).

Definition at line 323 of file TSupplierGuiCompBase.h.

References iinsp::ISupplier::GetModelParametersSet(), and NULL.

template<class UI >
void iqtinsp::TSupplierGuiCompBase< UI >::OnGuiModelAttached ( )
protectedvirtual
template<class UI >
void iqtinsp::TSupplierGuiCompBase< UI >::OnGuiModelDetached ( )
protectedvirtual
template<class UI >
void iqtinsp::TSupplierGuiCompBase< UI >::OnSupplierParamsChanged ( )
protectedvirtual
template<class UI >
void iqtinsp::TSupplierGuiCompBase< UI >::RemoveItemsFromScene ( iqt2d::IViewProvider providerPtr)
virtual
template<class UI >
bool iqtinsp::TSupplierGuiCompBase< UI >::SaveParams ( )
protected

Save parameters for example to file.

Definition at line 346 of file TSupplierGuiCompBase.h.

References iinsp::ISupplier::GetModelParametersSet(), and NULL.

template<class UI >
void iqtinsp::TSupplierGuiCompBase< UI >::UpdateVisualStatus ( )
protectedvirtual

Member Data Documentation

template<class UI>
ParamsObserver iqtinsp::TSupplierGuiCompBase< UI >::m_paramsObserver
protected

Definition at line 159 of file TSupplierGuiCompBase.h.

template<class UI>
StatusObserver iqtinsp::TSupplierGuiCompBase< UI >::m_statusObserver
protected

Definition at line 160 of file TSupplierGuiCompBase.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy