ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
pqReloadFilesReaction Class Reference

pqReloadFilesReaction adds handler code to reload the active reader. More...

#include <pqReloadFilesReaction.h>

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

Public Member Functions

 pqReloadFilesReaction (QAction *parent=0)
 
virtual ~pqReloadFilesReaction ()
 
- Public Member Functions inherited from pqReaction
 pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection)
 Constructor. More...
 
virtual ~pqReaction ()
 
QAction * parentAction () const
 Provides access to the parent action. More...
 

Static Public Member Functions

static bool reload ()
 reload the active proxy if it supports reload. More...
 
static bool reload (vtkSMSourceProxy *proxy)
 reload the proxy if it supports reload. More...
 

Protected Member Functions

virtual void onTriggered ()
 Called when the action is triggered. More...
 
virtual void updateEnableState ()
 

Additional Inherited Members

- Protected Slots inherited from pqReaction
virtual void updateMasterEnableState (bool)
 
- Protected Attributes inherited from pqReaction
bool IsMaster
 

Detailed Description

pqReloadFilesReaction adds handler code to reload the active reader.

It calls the "reload" property, identified by hints, if present, or calls vtkSMProxy::RecreateVTKObjects().

Definition at line 45 of file pqReloadFilesReaction.h.

Constructor & Destructor Documentation

§ pqReloadFilesReaction()

pqReloadFilesReaction::pqReloadFilesReaction ( QAction *  parent = 0)

§ ~pqReloadFilesReaction()

virtual pqReloadFilesReaction::~pqReloadFilesReaction ( )
virtual

Member Function Documentation

§ reload() [1/2]

static bool pqReloadFilesReaction::reload ( )
static

reload the active proxy if it supports reload.

Returns true on success.

§ reload() [2/2]

static bool pqReloadFilesReaction::reload ( vtkSMSourceProxy proxy)
static

reload the proxy if it supports reload.

Returns true on success.

§ onTriggered()

virtual void pqReloadFilesReaction::onTriggered ( )
inlineprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 65 of file pqReloadFilesReaction.h.

§ updateEnableState()

virtual void pqReloadFilesReaction::updateEnableState ( )
protectedvirtual

Reimplemented from pqReaction.


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