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=nullptr)
 
 ~pqReloadFilesReaction () override
 
- Public Member Functions inherited from pqReaction
 pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection)
 Constructor. More...
 
 ~pqReaction () override
 
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

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

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 17 of file pqReloadFilesReaction.h.

Constructor & Destructor Documentation

◆ pqReloadFilesReaction()

pqReloadFilesReaction::pqReloadFilesReaction ( QAction *  parent = nullptr)

◆ ~pqReloadFilesReaction()

pqReloadFilesReaction::~pqReloadFilesReaction ( )
override

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()

void pqReloadFilesReaction::onTriggered ( )
inlineoverrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 37 of file pqReloadFilesReaction.h.

◆ updateEnableState()

void pqReloadFilesReaction::updateEnableState ( )
overrideprotectedvirtual

Reimplemented from pqReaction.


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