Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
pqSaveDataReaction Class Reference

Reaction to save data files. More...

#include <pqSaveDataReaction.h>

Inheritance diagram for pqSaveDataReaction:
Inheritance graph
Collaboration diagram for pqSaveDataReaction:
Collaboration graph

Public Slots

void updateEnableState () override
 Updates the enabled state. More...
void dataUpdated (pqPipelineSource *source)
 Triggered when a source became valid. More...

Public Member Functions

 pqSaveDataReaction (QAction *parent)
 Constructor. More...
- 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 saveActiveData (const QString &files)
 Save data files from active port. More...
static bool saveActiveData ()

Protected Member Functions

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

Additional Inherited Members

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

Detailed Description

Reaction to save data files.

Definition at line 16 of file pqSaveDataReaction.h.

Constructor & Destructor Documentation

◆ pqSaveDataReaction()

pqSaveDataReaction::pqSaveDataReaction ( QAction *  parent)


Parent cannot be nullptr.

Member Function Documentation

◆ saveActiveData() [1/2]

static bool pqSaveDataReaction::saveActiveData ( const QString &  files)

Save data files from active port.

Users the vtkSMWriterFactory to decide what writes are available. Returns true if the creation is successful, otherwise returns false. Note that this method is static. Applications can simply use this without having to create a reaction instance.

◆ saveActiveData() [2/2]

static bool pqSaveDataReaction::saveActiveData ( )

◆ updateEnableState

void pqSaveDataReaction::updateEnableState ( )

Updates the enabled state.

Applications need not explicitly call this.

◆ dataUpdated

void pqSaveDataReaction::dataUpdated ( pqPipelineSource source)

Triggered when a source became valid.

◆ onTriggered()

void pqSaveDataReaction::onTriggered ( )

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 51 of file pqSaveDataReaction.h.

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