21#ifndef __ANTARES_WINDOWS_OUTPUT_PANEL_PANEL_H__
22#define __ANTARES_WINDOWS_OUTPUT_PANEL_PANEL_H__
24#include <ui/common/component/panel.h>
28#include <wx/statbmp.h>
29#include <antares/array/matrix.h>
30#include <yuni/core/event.h>
40namespace OutputViewerData
88 void layer(
Layer* newLayer,
bool forceUpdate =
false);
98 const Yuni::String&
filename()
const;
114 void message(
const wxString& msg,
const char* image = NULL);
116 void messageMergeYbY();
119 void loadVirtualLayer();
120 void loadDataFromFile();
122 void clearAllComponents();
125 void onProceed(
void*);
127 void executeAggregator();
141 wxWindow* pLabelMessage;
142 wxStaticBitmap* pIconMessage;
144 bool pShouldRebuildMessage;
150 Yuni::String pFilename;
154 static std::atomic<int> pPanelsInCallingLoadDataFromFile;
166std::shared_ptr<std::mutex> ProvideLockingForFileLocking(
const YString& filename);
171void ClearAllMutexForFileLocking();
Panel implementation.
Definition panel.h:36
A n-by-n matrix.
Definition jit.h:30
const Yuni::String & filename() const
Get the filename currently used (empty if the layer is virtual)
Definition panel.hxx:45
void message(const wxString &msg, const char *image=NULL)
Replace the whole panel by a message with an icon.
Definition panel.cpp:294
std::vector< Panel * > Vector
Vector.
Definition panel.h:46
void forceRefresh()
Force the GUI refresh.
Definition panel.cpp:150
const Layer * layer() const
Get the attached layer (const)
Definition panel.hxx:30
virtual ~Panel()
Destructor.
Definition panel.cpp:111
uint index() const
Get the index.
Definition panel.hxx:40
Panel(OutputViewerComponent *component, wxWindow *parent)
Constructor.
Definition panel.cpp:78
Component: Viewer for simulation results.
Definition output.h:49