Free Electron
DebugController.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 __viewer_DebugController_h__
8 #define __viewer_DebugController_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /** Controller that provides some debug logging functions
16 
17  @copydoc DebugController_info
18  */
19 class FE_DL_EXPORT DebugController :
20  virtual public Mask,
21  virtual public HandlerI,
22  public Initialize<DebugController>
23 {
24  public:
25  DebugController(void);
26 virtual ~DebugController(void);
27  void initialize(void);
28 
29  // AS HandlerI
30 virtual void handleBind(sp<SignalerI> spSignalerI, sp<Layout> spLayout);
31 virtual void handle(Record &record);
32 
33  private:
34  sp<Scope> m_spScope;
35  bool m_init;
36  WindowEvent::Mask m_dumpScope;
37 };
38 
39 } /* namespace ext */
40 } /* namespace fe */
41 
42 #endif /* __viewer_DebugController_h__ */
43 
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Controller that provides some debug logging functions.
Definition: DebugController.h:19