The IApplication interface wraps a generic processing loop.
More...
|
class | IJob |
| Job to add to the applications queue. More...
|
|
|
| ~IObject ()=default |
| Protected destructor --> Use implemented Destroy() instead of delete!
|
|
The IApplication interface wraps a generic processing loop.
Definition at line 23 of file application_intf.h.
◆ EnqueueJob()
Queues the job to the the applications queue processing.
This job must be executed within the main thread.
- Parameters
-
[in] | oJob | the job to call the Run(adtf::base::ant::IRunnable::RUN_JOB) to. |
[in] | bWait | enables waiting until job was executed. |
- Returns
- Standard Result Value
◆ Exec()
Application main function.
- Returns
- Will return the
oExitResult
of the Exit method.
◆ Exit()
Stops the application.
- Parameters
-
oExitResult | [in] the return code that the applications Exec function return. |
- Return values
-
ERR_NOERROR | Exit Code was set. Blocking Exec return. |