CVideoPlayerGuiComp.h
Go to the documentation of this file.
1 #ifndef iqtmm_CVideoPlayerGuiComp_included
2 #define iqtmm_CVideoPlayerGuiComp_included
3 
4 
5 // ACF includes
6 #include "imod/IModel.h"
8 #include "ifile/IFileNameParam.h"
10 
11 // ACF-Solutions includes
12 #include "imm/IMediaController.h"
13 
14 #include "GeneratedFiles/iqtmm/ui_CVideoPlayerGuiComp.h"
15 
16 
17 namespace iqtmm
18 {
19 
20 
25  public iqtgui::TDesignerGuiCompBase<Ui::CVideoPlayerGuiComp>,
27 {
28 public:
30 
31  I_BEGIN_COMPONENT(CVideoPlayerGuiComp);
32  I_ASSIGN(m_mediaControllerCompPtr, "MediaController", "Controller used to open and display media", true, "MediaController");
33  I_ASSIGN(m_videoGuiCompPtr, "VideoGui", "View for a video display", true, "VideoGui");
34  I_ASSIGN(m_urlParamsGuiCompPtr, "UrlGui", "Sequence directory selection GUI", false, "UrlGui");
35  I_ASSIGN(m_controllerBarGuiCompPtr, "ControllerBarGui", "Displayed on the bottom used typically to controll of playback", false, "ControllerBarGui");
36  I_ASSIGN(m_urlParamCompPtr, "UrlParams", "Parameter storing media URL or file or directory", true, "UrlParams");
37  I_ASSIGN_TO(m_urlParamModelCompPtr, m_urlParamCompPtr, true);
38  I_END_COMPONENT;
39 
40  // reimplemented (iqtgui::CGuiComponentBase)
41  virtual void OnGuiCreated();
42  virtual void OnGuiDestroyed();
43 
44 protected:
45  // reimplemented (imod::CSingleModelObserverBase)
46  virtual void OnUpdate(int updateFlags, istd::IPolymorphic* updateParamsPtr);
47 
48  // reimplemented (icomp::CComponentBase)
49  virtual void OnComponentCreated();
50  virtual void OnComponentDestroyed();
51 
52 private:
53  I_REF(imm::IMediaController, m_mediaControllerCompPtr);
54  I_REF(iqtgui::IGuiObject, m_videoGuiCompPtr);
55  I_REF(iqtgui::IGuiObject, m_urlParamsGuiCompPtr);
56  I_REF(iqtgui::IGuiObject, m_controllerBarGuiCompPtr);
57  I_REF(ifile::IFileNameParam, m_urlParamCompPtr);
58  I_REF(imod::IModel, m_urlParamModelCompPtr);
59 };
60 
61 
62 } // namespace iqtmm
63 
64 
65 #endif // !iqtmm_CVideoPlayerGuiComp_included
66 
virtual void OnUpdate(int updateFlags, istd::IPolymorphic *updateParamsPtr)
GUI component used to display video player.
virtual void OnGuiDestroyed()
iqtgui::TDesignerGuiCompBase< Ui::CVideoPlayerGuiComp > BaseClass
virtual void OnGuiCreated()
virtual void OnComponentCreated()
I_ASSIGN_TO(m_urlParamModelCompPtr, m_urlParamCompPtr, true)
virtual void OnComponentDestroyed()

© 2007-2011 Witold Gantzke and Kirill Lepskiy