42 #ifndef vtkSIProxyDefinitionManager_h 43 #define vtkSIProxyDefinitionManager_h 62 static vtkTypeUInt32 GetReservedGlobalID();
78 vtkPVXMLElement* GetProxyDefinition(
const char* group,
const char* name,
bool throwError);
82 return this->GetProxyDefinition(group, name,
true);
89 bool HasDefinition(
const char* groupName,
const char* proxyName);
98 const char* group,
const char*
name,
const char* subProxyName,
bool throwError);
100 const char* group,
const char* name,
const char* subProxyName)
102 return this->GetCollapsedProxyDefinition(group, name, subProxyName,
true);
117 void AddCustomProxyDefinition(
const char* group,
const char* name,
vtkPVXMLElement*
top);
118 void AddCustomProxyDefinition(
119 const char* groupName,
const char* proxyName,
const char* xmlcontents);
128 void RemoveCustomProxyDefinition(
const char* group,
const char* name);
136 void ClearCustomProxyDefinitions();
143 void LoadCustomProxyDefinitionsFromString(
const char* xmlContent);
157 bool LoadConfigurationXMLFromString(
const char* xmlContent);
162 ProxyDefinitionsUpdated = 2000,
163 CompoundProxyDefinitionsUpdated = 2001
178 CORE_DEFINITIONS = 1,
179 CUSTOM_DEFINITIONS = 2
200 const char* groupName,
int scope = ALL_DEFINITIONS);
207 void EnableXMLProxyDefnitionUpdate(
bool);
233 const char* groupName,
const char* proxyName,
bool isCustom =
false)
235 this->GroupName = groupName;
236 this->ProxyName = proxyName;
237 this->CustomDefinition = isCustom;
258 void AttachShowInMenuHintsToProxyFromProxyGroups(
vtkPVXMLElement* root);
269 bool LoadConfigurationXML(
vtkPVXMLElement* root,
bool attachShowInMenuHints);
270 bool LoadConfigurationXMLFromString(
const char* xmlContent,
bool attachShowInMenuHints);
277 void OnPluginLoaded(
vtkObject* caller,
unsigned long event,
void* calldata);
285 void AddElement(
const char* groupName,
const char* proxyName,
vtkPVXMLElement* element);
290 bool AddCustomProxyDefinitionInternal(
const char* group,
const char* name,
vtkPVXMLElement* top);
305 void InvalidateCollapsedDefinition();
311 vtkPVXMLElement* GetProxyElement(
const char* groupName,
const char* proxyName);
322 void InvokeCustomDefitionsUpdated();
329 vtkInternals* Internals;
330 vtkInternals* InternalsFlatten;
virtual void Push(vtkSMMessage *msg)
Push a new state to the underneath implementation The provided implementation just store the message ...
#define VTKREMOTINGSERVERMANAGER_EXPORT
defines the core interface for any ParaView plugin.
static vtkSIObject * New()
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
vtkPVXMLElement * GetProxyDefinition(const char *group, const char *name)
Returns a registered proxy definition or return a NULL otherwise.
virtual void Pull(vtkSMMessage *msg)
Pull the current state of the underneath implementation The provided implementation update the given ...
iterates over all proxy definitions from which the vtkSMProxyManager can use to create new proxy...
Object that is managed by vtkPVSessionCore which wrap concrete class such as the vtk ones...
object responsible for managing XML proxies definitions
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
vtkPVXMLElement * GetCollapsedProxyDefinition(const char *group, const char *name, const char *subProxyName)
Returns the same thing as GetProxyDefinition in a flatten manner.
void PrintSelf(ostream &os, vtkIndent indent) override