is used to locate proxies referred to in state xmls while loading state files.
More...
#include <vtkSMProxyLocator.h>
is used to locate proxies referred to in state xmls while loading state files.
vtkSMProxyLocator is used to locate proxies referred to in state xmls (and otherwise) when loading state files.
Definition at line 36 of file vtkSMProxyLocator.h.
§ Superclass
§ vtkSMProxyLocator()
vtkSMProxyLocator::vtkSMProxyLocator |
( |
| ) |
|
|
protected |
§ ~vtkSMProxyLocator()
vtkSMProxyLocator::~vtkSMProxyLocator |
( |
| ) |
|
|
protected |
§ New()
§ GetClassName()
virtual const char* vtkSMProxyLocator::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkSMProxyLocator::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkSMProxyLocator::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ PrintSelf()
void vtkSMProxyLocator::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ LocateProxy()
virtual vtkSMProxy* vtkSMProxyLocator::LocateProxy |
( |
vtkTypeUInt32 |
globalID | ) |
|
|
virtual |
Locate a proxy with the given "name".
If none can be found returns NULL. If a proxy with the name was not previously located, it will ask the Deserializer (if any) to create a new proxy is possible.
§ SetDeserializer()
Get/Set the de-serializer to used to locate XMLs/Protobuf for unknown proxies requested to be located using LocateProxy().
§ GetDeserializer()
Get/Set the de-serializer to used to locate XMLs/Protobuf for unknown proxies requested to be located using LocateProxy().
§ GetSession()
§ SetSession()
virtual void vtkSMProxyLocator::SetSession |
( |
vtkSMSession * |
s | ) |
|
|
virtual |
§ Clear()
virtual void vtkSMProxyLocator::Clear |
( |
| ) |
|
|
virtual |
§ GetLocatedProxies()
virtual void vtkSMProxyLocator::GetLocatedProxies |
( |
vtkCollection * |
collectionToFill | ) |
|
|
virtual |
Copy all the Located proxy into the collection.
This allow to keep a reference to them outside of the current locator. This is needed if we don't want to delete those proxy and if we want to Clear() the current ProxyLocator.
§ UseSessionToLocateProxy()
virtual void vtkSMProxyLocator::UseSessionToLocateProxy |
( |
bool |
useSessionToo | ) |
|
|
inlinevirtual |
§ AssignProxy()
virtual void vtkSMProxyLocator::AssignProxy |
( |
vtkTypeUInt32 |
id, |
|
|
vtkSMProxy * |
proxy |
|
) |
| |
|
virtual |
For custom applications managing custom state loading, one can use this method to register proxies with locator to use when LocateProxy() before attempting the standard route i.e.
using the deserializer or session.
§ NewProxy()
virtual vtkSMProxy* vtkSMProxyLocator::NewProxy |
( |
vtkTypeUInt32 |
globalID | ) |
|
|
protectedvirtual |
Create new proxy with the given id.
Default implementation asks the Deserializer, if any, to create a new proxy.
§ Deserializer
§ Session
§ LocateProxyWithSessionToo
bool vtkSMProxyLocator::LocateProxyWithSessionToo |
|
protected |
The documentation for this class was generated from the following file: