CImageViewComp.h
Go to the documentation of this file.
1 #ifndef iqt2d_CImageViewComp_included
2 #define iqt2d_CImageViewComp_included
3 
4 
5 // ACF includes
6 #include <icomp/CComponentBase.h>
7 #include <i2d/ICalibration2d.h>
11 #include <iview/CImageShape.h>
13 
14 
15 namespace iqt2d
16 {
17 
18 
24  public iqtgui::TGuiObserverWrap<CViewProviderGuiComp, iview::CImageShape>
25 
26 {
27 public:
29 
30  I_BEGIN_COMPONENT(CImageViewComp);
31  I_REGISTER_INTERFACE(imod::IObserver);
32  I_REGISTER_INTERFACE(imod::IModelEditor);
33  I_END_COMPONENT;
34 
35 protected:
36  // reimplemented (iqtgui::TGuiObserverWrap)
37  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
38 
39  // reimplemented (iqtui::CGuiComponentBase)
40  virtual void OnGuiCreated();
41  virtual void OnGuiDestroyed();
42 };
43 
44 
45 } // namespace iqt2d
46 
47 
48 #endif // !iqt2d_CImageViewComp_included
49 
50 
Show observed bitmap on the 2D-console.
virtual void OnGuiCreated()
Join functionality of iqtgui::IGuiObject interface and imod::IObserver.
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)
Do update of the GUI to reflect the state of model.
Common interface for an model editor.
Definition: IModelEditor.h:19
iqtgui::TGuiObserverWrap< CViewProviderGuiComp, iview::CImageShape > BaseClass
virtual void OnGuiDestroyed()
Common interface for all classes implementing the Observer functionality in the Model/Observer design...
Definition: IObserver.h:24
Set of change flags (its IDs).
Definition: IChangeable.h:30

© 2007-2017 Witold Gantzke and Kirill Lepskiy