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

pqLiveSourceBehavior adds support for "live" algorithms. More...

#include <pqLiveSourceBehavior.h>

Inherits QObject.

Public Member Functions

 pqLiveSourceBehavior (QObject *parent=nullptr)
 
 ~pqLiveSourceBehavior () override
 

Static Public Member Functions

static void pause ()
 Pause live updates. More...
 
static void resume ()
 Resume live updates. More...
 
static bool isPaused ()
 Returns true if live updates are paused. More...
 

Protected Slots

void viewAdded (pqView *)
 
void sourceAdded (pqPipelineSource *)
 
void timeout ()
 

Detailed Description

pqLiveSourceBehavior adds support for "live" algorithms.

These are vtkAlgorithm subclasses that have a method GetNeedsUpdate which returns true (bool) when source may have new data and should be refreshed.

To indicate a source is a "live source", one needs to simply add <LiveSource> XML hint for the source proxy.

Definition at line 25 of file pqLiveSourceBehavior.h.

Constructor & Destructor Documentation

◆ pqLiveSourceBehavior()

pqLiveSourceBehavior::pqLiveSourceBehavior ( QObject *  parent = nullptr)

◆ ~pqLiveSourceBehavior()

pqLiveSourceBehavior::~pqLiveSourceBehavior ( )
override

Member Function Documentation

◆ pause()

static void pqLiveSourceBehavior::pause ( )
static

Pause live updates.

◆ resume()

static void pqLiveSourceBehavior::resume ( )
static

Resume live updates.

◆ isPaused()

static bool pqLiveSourceBehavior::isPaused ( )
inlinestatic

Returns true if live updates are paused.

Definition at line 47 of file pqLiveSourceBehavior.h.

◆ viewAdded

void pqLiveSourceBehavior::viewAdded ( pqView )
protectedslot

◆ sourceAdded

void pqLiveSourceBehavior::sourceAdded ( pqPipelineSource )
protectedslot

◆ timeout

void pqLiveSourceBehavior::timeout ( )
protectedslot

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