Free Electron
ImportOp.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_ImportOp_h__
8 #define __operator_ImportOp_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Load a surface from an arbitrary file
17 
18  @ingroup operator
19 *//***************************************************************************/
20 class FE_DL_EXPORT ImportOp:
21  public OperatorSurfaceCommon,
22  public Initialize<ImportOp>
23 {
24  public:
25 
26  ImportOp(void) {}
27 virtual ~ImportOp(void) {}
28 
29  void initialize(void);
30 
31  //* As HandlerI
32 virtual void handle(Record& a_rSignal);
33 
34  protected:
35 
36  String find(String a_filename);
37 
38  sp<SurfaceAccessibleI> m_spLoadAccessible;
39 
40  private:
41  String m_loadedFile;
42  String m_loadedString;
43  String m_loadedPaths;
44  String m_loadedPathsDelimiter;
45  String m_loadedFormat;
46  String m_loadedFilter;
47  String m_loadedSpec;
48  String m_loadedOptions;
49  String m_loadedConfiguration;
50 
51  std::map< I32, sp<SurfaceAccessibleI> > m_frameCache;
52 
53 };
54 
55 } /* namespace ext */
56 } /* namespace fe */
57 
58 #endif /* __operator_ImportOp_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
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
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53