Free Electron
ApplicationI.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 __architecture_ApplicationI_h__
8 #define __architecture_ApplicationI_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /** application framework interface
15  */
16 class FE_DL_EXPORT ApplicationI:
17  virtual public Component,
18  public CastableAs<ApplicationI>
19 {
20  public:
21 virtual void setup(int a_argc, char **a_argv, char** a_env) = 0;
22 virtual bool step(int &a_returnCode) = 0;
23 virtual bool loop(int &a_returnCode) = 0;
24 };
25 
26 } /* namespace ext */
27 } /* namespace fe */
28 
29 #endif /* __architecture_ApplicationI_h__ */
30 
application framework interface
Definition: ApplicationI.h:16
kernel
Definition: namespace.dox:3
Base for all interfacable components.
Definition: Component.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192