Ticket #1590 (closed enhancement: fixed)
Syncing the GUI to ossimPlanet core callbacks
| Reported by: | gpotts | Owned by: | potts@… |
|---|---|---|---|
| Priority: | highest | Milestone: | OSSIM 2.0 |
| Component: | GUI | Version: | 1.6.8 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I have been having problems syncing in the Qt GUi with multi
threaded libraries and results. I want the GUI to be truly Asynchronous to what's happening inside the ossimPlanet core. I see the GUI should be able to interact with the planet core engine and not drive how the execution flow should be. I would like the planet core to just run and the gui listens and may do some internal parameter settings through GUI boxes. Right now I have a 1 second timer to help sync things happening in the background. For example, overview building or layer adding. They show up in thhe Legend box after the 1 second timer has executed. This should not be the case. I want to get rid of the timer and see if the Qt Event queue is thread safe. In other words from a thread other than the main thread can it create a QEvent and add it to the main thread event queue safely. I might do some initial simple tests to see if I get crashes or not.

