30 #ifndef vtkSIProxyDefinitionManager_h
31 #define vtkSIProxyDefinitionManager_h
33 #include "vtkRemotingServerManagerModule.h"
50 static vtkTypeUInt32 GetReservedGlobalID();
66 vtkPVXMLElement* GetProxyDefinition(
const char* group,
const char* name,
bool throwError);
70 return this->GetProxyDefinition(group,
name,
true);
77 bool HasDefinition(
const char* groupName,
const char* proxyName);
86 const char* group,
const char* name,
const char* subProxyName,
bool throwError);
88 const char* group,
const char* name,
const char* subProxyName)
90 return this->GetCollapsedProxyDefinition(group,
name, subProxyName,
true);
105 void AddCustomProxyDefinition(
const char* group,
const char* name,
vtkPVXMLElement* top);
106 void AddCustomProxyDefinition(
107 const char* groupName,
const char* proxyName,
const char* xmlcontents);
116 void RemoveCustomProxyDefinition(
const char* group,
const char* name);
124 void ClearCustomProxyDefinitions();
131 void LoadCustomProxyDefinitionsFromString(
const char* xmlContent);
145 bool LoadConfigurationXMLFromString(
const char* xmlContent);
150 ProxyDefinitionsUpdated = 2000,
151 CompoundProxyDefinitionsUpdated = 2001
166 CORE_DEFINITIONS = 1,
167 CUSTOM_DEFINITIONS = 2
188 const char* groupName,
int scope = ALL_DEFINITIONS);
195 void EnableXMLProxyDefnitionUpdate(
bool);
221 const char* groupName,
const char* proxyName,
bool isCustom =
false)
223 this->GroupName = groupName;
224 this->ProxyName = proxyName;
225 this->CustomDefinition = isCustom;
246 void AttachShowInMenuHintsToProxyFromProxyGroups(
vtkPVXMLElement* root);
257 bool LoadConfigurationXML(
vtkPVXMLElement* root,
bool attachShowInMenuHints);
258 bool LoadConfigurationXMLFromString(
const char* xmlContent,
bool attachShowInMenuHints);
265 void OnPluginLoaded(
vtkObject* caller,
unsigned long event,
void* calldata);
273 void AddElement(
const char* groupName,
const char* proxyName,
vtkPVXMLElement* element);
278 bool AddCustomProxyDefinitionInternal(
const char* group,
const char* name,
vtkPVXMLElement* top);
293 void InvalidateCollapsedDefinition();
299 vtkPVXMLElement* GetProxyElement(
const char* groupName,
const char* proxyName);
310 void InvokeCustomDefitionsUpdated();
317 vtkInternals* Internals;
318 vtkInternals* InternalsFlatten;