mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
Early version of webfieldlinesworker now working, will only upload field lines once during runtime at this point, in need of some sort of alert mechanism
This commit is contained in:
@@ -110,6 +110,7 @@ namespace openspace{
|
||||
(( Maybe alert Root RenderableFieldlinesSequence that it may udpates _sourceFiles/_startTimes?)) */
|
||||
void WebFieldlinesWindow::executeDownloadWorker(){
|
||||
_worker.downloadWindow(_window.triggerTimes);
|
||||
_worker.updateRFSSourceFiles(*rfs_sourceFiles);
|
||||
}
|
||||
|
||||
void WebFieldlinesWindow::newWindow(double time){
|
||||
@@ -133,7 +134,6 @@ namespace openspace{
|
||||
}
|
||||
|
||||
bool WebFieldlinesWindow::timeIsInTriggerTimesWebList(double time){
|
||||
|
||||
if(_nAvailableWeb == 0) return false;
|
||||
|
||||
if(time >= std::get<0>(_triggerTimesWeb.front()) && time <= std::get<0>(_triggerTimesWeb.back()))
|
||||
@@ -156,6 +156,11 @@ namespace openspace{
|
||||
double WebFieldlinesWindow::windowEnd(){
|
||||
return _window.triggerTimes.back().first;
|
||||
}
|
||||
|
||||
bool WebFieldlinesWindow::workerWindowIsReady()
|
||||
{
|
||||
return _worker.windowIsComplete();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user