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

pqViewStreamingBehavior is used to manage rendering of render-view when streaming is enabled. More...

#include <pqViewStreamingBehavior.h>

Inherits QObject.

Public Member Functions

 pqViewStreamingBehavior (QObject *parent=nullptr)
 
 ~pqViewStreamingBehavior () override
 
void stopAutoUpdates ()
 This API is for testing purposes. More...
 
void resumeAutoUpdates ()
 
void triggerSingleUpdate ()
 

Protected Slots

void onViewAdded (pqView *)
 
void onViewUpdated (vtkObject *, unsigned long, void *)
 
void onTimeout ()
 

Detailed Description

pqViewStreamingBehavior is used to manage rendering of render-view when streaming is enabled.

pqViewStreamingBehavior listens to updates on render-views when vtkPVView::GetEnableStreaming() returns true and periodically calls vtkSMRenderViewProxy::StreamingUpdate() on the view until the view reports there is no more data to be streamed. The periodic updates resume after the next time the view updates since the view now may have newer data that needs to be streamed.

Definition at line 26 of file pqViewStreamingBehavior.h.

Constructor & Destructor Documentation

◆ pqViewStreamingBehavior()

pqViewStreamingBehavior::pqViewStreamingBehavior ( QObject *  parent = nullptr)

◆ ~pqViewStreamingBehavior()

pqViewStreamingBehavior::~pqViewStreamingBehavior ( )
override

Member Function Documentation

◆ stopAutoUpdates()

void pqViewStreamingBehavior::stopAutoUpdates ( )

This API is for testing purposes.

It enables pausing/stepping/resuming automatic updates.

◆ resumeAutoUpdates()

void pqViewStreamingBehavior::resumeAutoUpdates ( )

◆ triggerSingleUpdate()

void pqViewStreamingBehavior::triggerSingleUpdate ( )

◆ onViewAdded

void pqViewStreamingBehavior::onViewAdded ( pqView )
protectedslot

◆ onViewUpdated

void pqViewStreamingBehavior::onViewUpdated ( vtkObject ,
unsigned  long,
void *   
)
protectedslot

◆ onTimeout

void pqViewStreamingBehavior::onTimeout ( )
protectedslot

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