Simplified XF 1.1.0
|
Static class grouping the basic methods for the XF together. More...
#include <xf.h>
Static Public Member Functions | |
static void | initialize (int timeInterval=10, int argc=0, char *argv[]=nullptr) |
static int | exec () |
static int | execOnce () |
static bool | isRunning () |
Returns true in case the XF is initialized and running. | |
Static Protected Attributes | |
static bool | isInitialized_ = false |
Changes from false to true after calling method initialize(int). Used to handle multiple calls to init(int). More... | |
static bool | isRunning_ = false |
Tells if the XF is initialized and running. | |
Static class grouping the basic methods for the XF together.
|
static |
Starts execution of the framework. This results in processing the events in main loop.
This method is blocking.
|
static |
Executes once the dispatcher. To be called regularly in a while loop.
This method is non-blocking.
|
static |
Initializes the eXecution Framework (XF). Call this method prior to initialize the other objects of the system.
|
staticprotected |
Changes from false to true after calling method initialize(int). Used to handle multiple calls to init(int).
In the Qt port we are going to use a QCoreApplication instance which gets executed by the XF::exec() method.
The default dispatcher is active in this port implementation. This means, the default dispatcher has its own thread.
The XF::execOnce() method is not applicable for this port.