ParaView
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
vtkSMRemoteObjectUpdateUndoElement Class Reference

vtkSMRemoteObject undo element. More...

#include <vtkSMRemoteObjectUpdateUndoElement.h>

Inheritance diagram for vtkSMRemoteObjectUpdateUndoElement:
Inheritance graph
[legend]
Collaboration diagram for vtkSMRemoteObjectUpdateUndoElement:
Collaboration graph
[legend]

Public Types

typedef vtkSMUndoElement Superclass
 
- Public Types inherited from vtkSMUndoElement
typedef vtkUndoElement Superclass
 
- Public Types inherited from vtkUndoElement
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int Undo ()
 Undo the operation encapsulated by this element. More...
 
virtual int Redo ()
 Redo the operation encaspsulated by this element. More...
 
virtual void SetProxyLocator (vtkSMProxyLocator *)
 Set ProxyLocator to use if any. More...
 
virtual void SetUndoRedoState (const vtkSMMessage *before, const vtkSMMessage *after)
 Set the state of the UndoElement. More...
 
virtual vtkTypeUInt32 GetGlobalId ()
 
- Public Member Functions inherited from vtkSMUndoElement
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkSMSessionGetSession ()
 
virtual void SetSession (vtkSMSession *)
 
virtual vtkSMSessionProxyManagerGetSessionProxyManager ()
 Return the corresponding ProxyManager if any. More...
 
- Public Member Functions inherited from vtkUndoElement
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual bool Merge (vtkUndoElement *vtkNotUsed(new_element))
 Called on the older element in the UndoSet to merge with the element being added if both the elements are mergeable. More...
 
virtual void SetUndoSetWorkingContext (vtkCollection *workCTX)
 
virtual bool GetMergeable ()
 Returns if this undo element can be merged with other undo elements. More...
 

Static Public Member Functions

static vtkSMRemoteObjectUpdateUndoElementNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSMRemoteObjectUpdateUndoElementSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSMUndoElement
static int IsTypeOf (const char *type)
 
static vtkSMUndoElementSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkUndoElement
static int IsTypeOf (const char *type)
 
static vtkUndoElementSafeDownCast (vtkObject *o)
 

Public Attributes

vtkSMMessageBeforeState
 
vtkSMMessageAfterState
 

Protected Member Functions

 vtkSMRemoteObjectUpdateUndoElement ()
 
 ~vtkSMRemoteObjectUpdateUndoElement ()
 
int UpdateState (const vtkSMMessage *state)
 
- Protected Member Functions inherited from vtkSMUndoElement
 vtkSMUndoElement ()
 
 ~vtkSMUndoElement ()
 
- Protected Member Functions inherited from vtkUndoElement
 vtkUndoElement ()
 
 ~vtkUndoElement ()
 
virtual void SetMergeable (bool)
 Subclasses must set this flag to enable merging of consecutive elements in an UndoSet. More...
 

Protected Attributes

vtkSMProxyLocatorProxyLocator
 
- Protected Attributes inherited from vtkSMUndoElement
vtkWeakPointer< vtkSMSessionSession
 
- Protected Attributes inherited from vtkUndoElement
bool Mergeable
 Subclasses must set this flag to enable merging of consecutive elements in an UndoSet. More...
 
vtkCollection * UndoSetWorkingContext
 Subclasses must set this flag to enable merging of consecutive elements in an UndoSet. More...
 

Detailed Description

vtkSMRemoteObject undo element.

This class keeps the before and after state of the RemoteObject in the vtkSMMessage form. It works with any proxy and RemoteObject. It is a very generic undoElement.

Definition at line 34 of file vtkSMRemoteObjectUpdateUndoElement.h.

Member Typedef Documentation

§ Superclass

Definition at line 38 of file vtkSMRemoteObjectUpdateUndoElement.h.

Constructor & Destructor Documentation

§ vtkSMRemoteObjectUpdateUndoElement()

vtkSMRemoteObjectUpdateUndoElement::vtkSMRemoteObjectUpdateUndoElement ( )
protected

§ ~vtkSMRemoteObjectUpdateUndoElement()

vtkSMRemoteObjectUpdateUndoElement::~vtkSMRemoteObjectUpdateUndoElement ( )
protected

Member Function Documentation

§ New()

static vtkSMRemoteObjectUpdateUndoElement* vtkSMRemoteObjectUpdateUndoElement::New ( )
static

§ GetClassName()

virtual const char* vtkSMRemoteObjectUpdateUndoElement::GetClassName ( )
virtual

Reimplemented from vtkSMUndoElement.

§ IsTypeOf()

static int vtkSMRemoteObjectUpdateUndoElement::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkSMRemoteObjectUpdateUndoElement::IsA ( const char *  type)
virtual

Reimplemented from vtkSMUndoElement.

§ SafeDownCast()

static vtkSMRemoteObjectUpdateUndoElement* vtkSMRemoteObjectUpdateUndoElement::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkSMRemoteObjectUpdateUndoElement::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ Undo()

virtual int vtkSMRemoteObjectUpdateUndoElement::Undo ( )
virtual

Undo the operation encapsulated by this element.

Returns
the status of the operation, 1 on success, 0 otherwise.

Implements vtkUndoElement.

§ Redo()

virtual int vtkSMRemoteObjectUpdateUndoElement::Redo ( )
virtual

Redo the operation encaspsulated by this element.

Returns
the status of the operation, 1 on success, 0 otherwise.

Implements vtkUndoElement.

§ SetProxyLocator()

virtual void vtkSMRemoteObjectUpdateUndoElement::SetProxyLocator ( vtkSMProxyLocator )
virtual

Set ProxyLocator to use if any.

§ SetUndoRedoState()

virtual void vtkSMRemoteObjectUpdateUndoElement::SetUndoRedoState ( const vtkSMMessage before,
const vtkSMMessage after 
)
virtual

Set the state of the UndoElement.

§ GetGlobalId()

virtual vtkTypeUInt32 vtkSMRemoteObjectUpdateUndoElement::GetGlobalId ( )
virtual

§ UpdateState()

int vtkSMRemoteObjectUpdateUndoElement::UpdateState ( const vtkSMMessage state)
protected

Member Data Documentation

§ BeforeState

vtkSMMessage* vtkSMRemoteObjectUpdateUndoElement::BeforeState

Definition at line 64 of file vtkSMRemoteObjectUpdateUndoElement.h.

§ AfterState

vtkSMMessage* vtkSMRemoteObjectUpdateUndoElement::AfterState

Definition at line 65 of file vtkSMRemoteObjectUpdateUndoElement.h.

§ ProxyLocator

vtkSMProxyLocator* vtkSMRemoteObjectUpdateUndoElement::ProxyLocator
protected

Definition at line 76 of file vtkSMRemoteObjectUpdateUndoElement.h.


The documentation for this class was generated from the following file: