Free Electron
PreviewOp.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 __oplab_PreviewOp_h__
8 #define __oplab_PreviewOp_h__
9 
10 #include "operator/ImportOp.h"
11 namespace fe
12 {
13 namespace ext
14 {
15 
16 /**************************************************************************//**
17  @brief Operator to merely draw imported surface
18 
19  @ingroup oplab
20 *//***************************************************************************/
21 class FE_DL_EXPORT PreviewOp:
22  public ImportOp,
23  public Initialize<PreviewOp>
24 {
25  public:
26 
27  PreviewOp(void) {}
28 virtual ~PreviewOp(void) {}
29 
30  void initialize(void);
31 
32  //* As HandlerI
33 virtual void handle(Record& a_rSignal);
34 
35  private:
36  sp<DrawableI> m_spDrawable;
37  sp<DrawBufferI> m_spDrawBuffer;
38 };
39 
40 } /* namespace ext */
41 } /* namespace fe */
42 
43 #endif /* __oplab_PreviewOp_h__ */
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Load a surface from an arbitrary file.
Definition: ImportOp.h:20
Operator to merely draw imported surface.
Definition: PreviewOp.h:21
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53