15 #ifndef pqMemoryInspectorPanel_h 16 #define pqMemoryInspectorPanel_h 18 #include "pqComponentsModule.h" 30 class pqMemoryInspectorPanelUI;
33 class QTreeWidgetItem;
51 virtual void showEvent(QShowEvent* event);
57 void ServerDisconnected();
58 void ServerConnected();
65 void ConnectToView(
pqView* view);
66 void RenderCompleted();
83 void EnableStackTraceOnClient(
bool enable);
84 void EnableStackTraceOnServer(
bool enable);
85 void EnableStackTraceOnDataServer(
bool enable);
86 void EnableStackTraceOnRenderServer(
bool enable);
90 void ExecuteRemoteCommand();
91 void RemoteCommandFailed(QProcess::ProcessError code);
95 void ShowHostPropertiesDialog();
99 void ConfigViewContextMenu(
const QPoint& pos);
104 void ShowOnlyNodes();
110 void ClearServer(map<string, HostData*>& hosts, vector<RankData*>& ranks);
114 void UpdateHosts(map<string, HostData*>& hosts);
117 int validProcessType, QTreeWidgetItem* group,
string groupName, map<string, HostData*>& hosts,
118 vector<RankData*>& ranks,
int& systemType);
120 void EnableStackTrace(
bool enable,
int group);
121 void AddEnableStackTraceMenuAction(
int serverType, QMenu& context);
123 QWidget* NewGroupWidget(
string name,
string icon);
126 pqMemoryInspectorPanelUI*
Ui;
129 HostData* ClientHost;
130 int ClientSystemType;
131 bool StackTraceOnClient;
133 map<string, HostData*> ServerHosts;
134 vector<RankData*> ServerRanks;
135 int ServerSystemType;
136 bool StackTraceOnServer;
138 map<string, HostData*> DataServerHosts;
139 vector<RankData*> DataServerRanks;
140 int DataServerSystemType;
141 bool StackTraceOnDataServer;
143 map<string, HostData*> RenderServerHosts;
144 vector<RankData*> RenderServerRanks;
145 int RenderServerSystemType;
146 bool StackTraceOnRenderServer;
This is a PQ abstraction of a generic view module.
void SetAutoUpdate(bool state)