Free Electron
ChannelController.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__ChannelController_h__
8 #define __viewer__ChannelController_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /** Channel controller
16 
17  @copydoc ChannelController_info
18  */
19 class FE_DL_EXPORT ChannelController :
20  virtual public HandlerI,
21  virtual public Mask,
22  public Initialize<ChannelController>
23 {
24  public:
25  ChannelController(void);
26 virtual ~ChannelController(void);
27 
28  void initialize(void);
29 
30  // AS HandlerI
31 virtual void handleBind(sp<SignalerI> spSignalerI, sp<Layout> spLayout);
32 virtual void handle(Record &r_signal);
33 
34  private:
35  AsSignal m_asSignal;
36  WindowEvent::Mask m_key_press;
37  WindowEvent::Mask m_key_release;
38 
39 };
40 
41 } /* namespace ext */
42 } /* namespace fe */
43 
44 #endif
possible attributes of a top level signal
Definition: datatoolAS.h:16
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
Channel controller.
Definition: ChannelController.h:19
Reference to an instance of a Layout.
Definition: RecordSB.h:35