ParaView
|
deserializes proxies from their states. More...
#include <vtkSMDeserializer.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetSession (vtkSMSession *session) |
Convenience method for setting the SessionProxyManager. More... | |
vtkSMSession * | GetSession () |
Provides access to the session. More... | |
vtkSMSessionProxyManager * | GetSessionProxyManager () |
Get/Set the proxy manager on which this deserializer is expected to operate. More... | |
void | SetSessionProxyManager (vtkSMSessionProxyManager *) |
Get/Set the proxy manager on which this deserializer is expected to operate. More... | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkSMDeserializer * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSMDeserializer () | |
~vtkSMDeserializer () | |
virtual vtkSMProxy * | NewProxy (vtkTypeUInt32 id, vtkSMProxyLocator *locator)=0 |
Create a new proxy with the id if possible. More... | |
virtual vtkSMProxy * | CreateProxy (const char *xmlgroup, const char *xmlname, const char *subProxyName=NULL) |
Create a new proxy of the given group and name. More... | |
Protected Attributes | |
vtkWeakPointer< vtkSMSessionProxyManager > | SessionProxyManager |
Friends | |
class | vtkSMProxyLocator |
deserializes proxies from their states.
vtkSMDeserializer is used to deserialize proxies from their XML/Protobuf/? states. This is the base class of deserialization classes that load XMLs/Protobuf/? to restore servermanager state (or part thereof).
Definition at line 37 of file vtkSMDeserializer.h.
typedef vtkObject vtkSMDeserializer::Superclass |
Definition at line 40 of file vtkSMDeserializer.h.
|
protected |
|
protected |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkSMDeserializer::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkSMDeserializer::SetSession | ( | vtkSMSession * | session | ) |
Convenience method for setting the SessionProxyManager.
This is equivalent to calling vtkSMDeserializer::SetSessionProxyManager(session->GetSessionProxyManager()).
vtkSMSessionProxyManager* vtkSMDeserializer::GetSessionProxyManager | ( | ) |
Get/Set the proxy manager on which this deserializer is expected to operate.
void vtkSMDeserializer::SetSessionProxyManager | ( | vtkSMSessionProxyManager * | ) |
Get/Set the proxy manager on which this deserializer is expected to operate.
vtkSMSession* vtkSMDeserializer::GetSession | ( | ) |
Provides access to the session.
This is same as calling this->GetSessionProxyManager()->GetSession() (with NULL checks).
|
protectedpure virtual |
Create a new proxy with the id if possible.
Implemented in vtkSMDeserializerProtobuf, vtkSMDeserializerXML, and vtkSMInsituStateLoader.
|
protectedvirtual |
Create a new proxy of the given group and name.
Default implementation simply asks the proxy manager to create a new proxy of the requested type.
Reimplemented in vtkSMStateLoader, and vtkSMDeserializerXML.
|
friend |
Definition at line 70 of file vtkSMDeserializer.h.
|
protected |
Definition at line 84 of file vtkSMDeserializer.h.