Loading [MathJax]/jax/input/TeX/config.js
Free Electron
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
xInterface.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 __plugin_test_xInterface_h__
8 #define __plugin_test_xInterface_h__
9 
10 class FE_DL_PUBLIC MyComponentI:
11  virtual public fe::Component,
12  public fe::CastableAs<MyComponentI>
13 {
14  public:
15 virtual int test(int i) = 0;
16 };
17 
18 class FE_DL_PUBLIC MyComponent2I:
19  virtual public fe::Component,
20  fe::CastableAs<MyComponent2I>
21 {
22  public:
23 virtual int test(int i) = 0;
24 };
25 
26 #endif /* __plugin_test_xInterface_h__ */
Base for all interfacable components.
Definition: Component.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192