Free Electron
WindowPipeline.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __architecture_WindowPipeline_h__
8 #define __architecture_WindowPipeline_h__
9 
10 #include <datatool/datatool.h>
11 #include <window/window.h>
12 #include <lua/lua.h>
13 namespace fe
14 {
15 namespace ext
16 {
17 
18 /** Window Pipeline
19  */
20 class FE_DL_EXPORT WindowPipeline
21  : virtual public PipelineI,
22  virtual public Config,
23  public Initialize<WindowPipeline>
24 {
25  public:
26  WindowPipeline(void);
27 virtual ~WindowPipeline(void);
28  void initialize(void);
29 
30  // AS PipelineI
31 virtual void attach( sp<ApplicationI> a_application,
32  sp<SignalerI> a_signaler,
33  sp<SequencerI> a_sequencer,
34  sp<Layout> l_hb,
35  sp<RecordGroup> rg_input);
36 virtual void loadConfig(sp<RecordGroup> rg_input);
37 virtual void loadWindows(void);
38 virtual sp<WindowI> createWindow(const String &a_title,
39  Record &r_win_data,
40  sp<RecordGroup> rg_appwin);
41 
42  private:
43  sp<SignalerI> m_spSignaler;
44  sp<EventContextI> m_spEventContext;
45  sp<Layout> l_draw_hb;
46  sp<Layout> l_winev_hb;
47  sp<Layout> l_win_data;
48  sp<Layout> l_event;
49  std::list< sp<WindowI> > m_windows;
50  String m_directory;
51  sp<RecordGroup> m_spWindatas;
52  typedef std::pair< sp<ApplicationWindowI>, sp<RecordGroup> > t_appwin;
53  std::vector< t_appwin > m_appWindows;
54 };
55 
56 } /* namespace ext */
57 } /* namespace fe */
58 
59 #endif /* __architecture_WindowPipeline_h__ */
60 
Convienience base class for specification and use of path accessors.
Definition: Config.h:19
kernel
Definition: namespace.dox:3
Window Pipeline.
Definition: WindowPipeline.h:20
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Automatically reference-counted string container.
Definition: String.h:128
application framework interface
Definition: PipelineI.h:16
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53