diff options
author | Andrii Kalinich <AKalinich@luxoft.com> | 2021-01-12 14:06:28 -0500 |
---|---|---|
committer | LitvinenkoIra <ilytvynenko@luxoft.com> | 2021-01-21 10:03:44 +0200 |
commit | 500fa2d826f2d05a124ebda205ce9575c174e514 (patch) | |
tree | c977814c943f97abd8568f5e950b04e9c22ddfb3 /src/components/include/application_manager/application_manager.h | |
parent | 98c4ff9811260a939e7892a0aa49d98914ad3b06 (diff) | |
download | sdl_core-500fa2d826f2d05a124ebda205ce9575c174e514.tar.gz |
Add vehicle data params to StartSessionAck
Also added some unit tests to cover happy path
Additionally, implemented new waiter-function for
blocking threads until HMI readiness and release
them once all data became available.
Diffstat (limited to 'src/components/include/application_manager/application_manager.h')
-rw-r--r-- | src/components/include/application_manager/application_manager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/include/application_manager/application_manager.h b/src/components/include/application_manager/application_manager.h index dfc8314530..dc4d1e8ffe 100644 --- a/src/components/include/application_manager/application_manager.h +++ b/src/components/include/application_manager/application_manager.h @@ -623,6 +623,12 @@ class ApplicationManager { virtual bool IsStopping() const = 0; + /** + * @brief Waits for HMI readiness and blocks thread if it's not ready yet + * @return true if HMI is ready and cooperating, otherwise returns false + */ + virtual bool WaitForHmiIsReady() = 0; + virtual void RemoveAppFromTTSGlobalPropertiesList(const uint32_t app_id) = 0; /** |