Free Electron
RasterOp.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 __operator_OperatorRaster_h__
8 #define __operator_OperatorRaster_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Evaluate some aspect of a number of surfaces
17 
18  @ingroup operator
19 *//***************************************************************************/
20 class FE_DL_EXPORT RasterOp:
21  public OperatorSurfaceCommon,
22  public Initialize<RasterOp>
23 {
24  public:
25  RasterOp(void) {}
26 virtual ~RasterOp(void) {}
27 
28  void initialize(void);
29 
30  //* As HandlerI
31 virtual void handle(Record& a_rSignal);
32 
33  private:
34 
35  void saveRaster(String a_savefile);
36  void loadRaster(String a_loadfile);
37  sp<ImageI> createImage(String a_filename);
38 
39  sp<SurfaceAccessibleI> m_spInputAccessible;
40  sp<SurfaceAccessibleI> m_spDriverAccessible;
41  sp<SurfaceAccessibleI> m_spOutputAccessible;
42 
43  sp<DrawI> m_spDrawI;
44 };
45 
46 } /* namespace ext */
47 } /* namespace fe */
48 
49 #endif /* __operator_OperatorRaster_h__ */
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Automatically reference-counted string container.
Definition: String.h:128
Partial Generic SurfaceI Implemention.
Definition: OperatorSurfaceCommon.h:20
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Evaluate some aspect of a number of surfaces.
Definition: RasterOp.h:20