CSceneBinderComp.h
Go to the documentation of this file.
1 #ifndef iqt2d_CSceneBinderComp_included
2 #define iqt2d_CSceneBinderComp_included
3 
4 
5 // ACF includes
6 #include <icomp/CComponentBase.h>
7 
8 #include <iqt2d/IViewProvider.h>
9 #include <iqt2d/IViewExtender.h>
10 
11 
12 namespace iqt2d
13 {
14 
15 
20 {
21 public:
23 
24  I_BEGIN_COMPONENT(CSceneBinderComp);
25  I_ASSIGN(m_sceneProviderCompPtr, "SceneProvider", "A graphical scene provider", true, "SceneProvider");
26  I_ASSIGN(m_extenderCompPtr, "SceneExtender", "Shapes provider for the graphical scene", true, "SceneExtender");
27  I_END_COMPONENT;
28 
29 protected:
30  // reimplemented (icomp::CComponentBase)
31  virtual void OnComponentCreated();
32  virtual void OnComponentDestroyed();
33 
34 private:
35  I_REF(IViewProvider, m_sceneProviderCompPtr);
36  I_REF(IViewExtender, m_extenderCompPtr);
37 };
38 
39 
40 } // namespace iqt2d
41 
42 
43 #endif // !iqt2d_CSceneBinderComp_included
44 
45 
Interface for GUI objects presenting its results using extern view objects.
Definition: IViewExtender.h:19
Binder between scene and shapes creator provider.
Base class for component implementation.
icomp::CComponentBase BaseClass
virtual void OnComponentCreated()
virtual void OnComponentDestroyed()
Interface for GUI objects managing view.
Definition: IViewProvider.h:24

© 2007-2017 Witold Gantzke and Kirill Lepskiy