12 #ifndef vtkSMProxyDefinitionManager_h 13 #define vtkSMProxyDefinitionManager_h 36 void SynchronizeDefinitions();
72 return this->ProxyDefinitionManager
73 ? this->ProxyDefinitionManager->GetProxyDefinition(group, name, throwError)
78 return this->ProxyDefinitionManager
79 ? this->ProxyDefinitionManager->GetProxyDefinition(group, name)
90 const char* group,
const char* name,
const char* subProxyName,
bool throwError)
92 return this->ProxyDefinitionManager ? this->ProxyDefinitionManager->GetCollapsedProxyDefinition(
93 group, name, subProxyName, throwError)
102 return this->ProxyDefinitionManager
103 ? this->ProxyDefinitionManager->HasDefinition(groupName, proxyName)
113 if (this->ProxyDefinitionManager)
115 this->ProxyDefinitionManager->SaveCustomProxyDefinitions(root);
131 return this->ProxyDefinitionManager ? this->ProxyDefinitionManager->NewIterator() :
nullptr;
136 return this->ProxyDefinitionManager ? this->ProxyDefinitionManager->NewIterator(scope)
150 return this->ProxyDefinitionManager
151 ? this->ProxyDefinitionManager->NewSingleGroupIterator(groupName)
156 return this->ProxyDefinitionManager
157 ? this->ProxyDefinitionManager->NewSingleGroupIterator(groupName, scope)
171 void RemoveCustomProxyDefinition(
const char* group,
const char* name);
172 void ClearCustomProxyDefinitions();
180 void LoadCustomProxyDefinitionsFromString(
const char* xmlContent);
188 bool LoadConfigurationXMLFromString(
const char* xmlContent);
vtkEventForwarderCommand * Forwarder
void SetSession(vtkSMSession *) override
Override the SetSession so if the object already have an ID we automatically register it to the assoc...
vtkSMProxyDefinitionManager is a remote-object that represents the vtkSIProxyDefinitionManager instan...
virtual void LoadState(const vtkSMMessage *msg, vtkSMProxyLocator *locator)
This method is used to initialise the object to the given state If the definitionOnly Flag is set to ...
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkPVProxyDefinitionIterator * NewSingleGroupIterator(const char *groupName, int scope)
Return a new configured iterator for traversing a set of proxy definition for only one GroupName...
bool HasDefinition(const char *groupName, const char *proxyName)
Return true if the XML Definition was found.
vtkPVXMLElement * GetProxyDefinition(const char *group, const char *name, bool throwError)
Returns a registered proxy definition or return a nullptr otherwise.
vtkSMSession is the default ParaView session.
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
vtkPVXMLElement * GetCollapsedProxyDefinition(const char *group, const char *name, const char *subProxyName, bool throwError)
Returns the same thing as GetProxyDefinition in a flatten manner.
VTK_NEWINSTANCE vtkPVProxyDefinitionIterator * NewIterator()
Return a NEW instance of vtkPVProxyDefinitionIterator configured to get through all the definition av...
iterates over all proxy definitions from which the vtkSMProxyManager can use to create new proxy...
vtkWeakPointer< vtkSIProxyDefinitionManager > ProxyDefinitionManager
is used to locate proxies referred to in state xmls while loading state files.
vtkPVXMLElement * GetProxyDefinition(const char *group, const char *name)
Returns a registered proxy definition or return a nullptr otherwise.
void SaveCustomProxyDefinitions(vtkPVXMLElement *root)
Save registered custom proxy definitions.
VTK_NEWINSTANCE vtkPVProxyDefinitionIterator * NewIterator(int scope)
Return a NEW instance of vtkPVProxyDefinitionIterator configured to get through all the definition av...
baseclass for all proxy-objects that have counter parts on server as well as client processes...
vtkPVProxyDefinitionIterator * NewSingleGroupIterator(const char *groupName)
Return a new configured iterator for traversing a set of proxy definition for only one GroupName...
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
static vtkSMSessionObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override