Manages the live-coprocessing link. More...
#include <pqLiveInsituVisualizationManager.h>
Inherits QObject.
Signals | |
void | insituConnected () |
void | insituDisconnected () |
void | nextTimestepAvailable () |
Public Member Functions | |
pqLiveInsituVisualizationManager (int connection_port, pqServer *server) | |
~pqLiveInsituVisualizationManager () override | |
bool | hasExtracts (pqOutputPort *) const |
returns true of the port is extracted over to the visualization server. More... | |
pqServer * | insituSession () const |
pqServer * | displaySession () const |
bool | addExtract (pqOutputPort *) |
create an extract to view the output from the given port. More... | |
vtkSMLiveInsituLinkProxy * | getProxy () const |
Static Public Member Functions | |
static pqServer * | displaySession (pqServer *catalystSession) |
Convenience method to return the displaySession for a catalystSession. More... | |
Protected Slots | |
void | timestepsUpdated () |
void | sourceRemoved (pqPipelineSource *) |
Manages the live-coprocessing link.
When pqLiveInsituVisualizationManager is instantiated, it creates a new dummy session that represents the catalyst pipeline. The proxy manager in this session reflects the state of the proxies on the coprocessing side. Next, it creates the (coprocessing, LiveInsituLink) proxy that sets up the server socket to accept connections from catalyst.
Definition at line 26 of file pqLiveInsituVisualizationManager.h.
pqLiveInsituVisualizationManager::pqLiveInsituVisualizationManager | ( | int | connection_port, |
pqServer * | server | ||
) |
|
override |
bool pqLiveInsituVisualizationManager::hasExtracts | ( | pqOutputPort * | ) | const |
returns true of the port is extracted over to the visualization server.
pqServer* pqLiveInsituVisualizationManager::insituSession | ( | ) | const |
pqServer* pqLiveInsituVisualizationManager::displaySession | ( | ) | const |
bool pqLiveInsituVisualizationManager::addExtract | ( | pqOutputPort * | ) |
create an extract to view the output from the given port.
pqOutputPort must be an instance on the dummy session corresponding to the catalyst pipeline.
vtkSMLiveInsituLinkProxy* pqLiveInsituVisualizationManager::getProxy | ( | ) | const |
|
static |
Convenience method to return the displaySession for a catalystSession.
If the argument is not a catalystSession, it will simply return the same session without any errors.
|
signal |
|
signal |
|
signal |
|
protectedslot |
|
protectedslot |