Back to index

salome-paravis  6.5.0
Public Types | Public Member Functions | Public Attributes
PARAVIS::TGetActiveServer Struct Reference

Returns currently active Paraview server. More...

#include <PV_Events.h>

Inheritance diagram for PARAVIS::TGetActiveServer:
Inheritance graph
Collaboration diagram for PARAVIS::TGetActiveServer:
Collaboration graph

List of all members.

Public Types

typedef pqServer * TResult

Public Member Functions

 TGetActiveServer (SalomeApp_Application *theApp)
virtual void Execute ()
PVGUI_ModulegetModule ()
 Returns pointer on PARAVIS module instance.

Public Attributes

TResult myResult
SalomeApp_Application * myApp

Detailed Description

Returns currently active Paraview server.

Definition at line 230 of file PV_Events.h.

Member Typedef Documentation

Definition at line 232 of file PV_Events.h.

Constructor & Destructor Documentation

PARAVIS::TGetActiveServer::TGetActiveServer ( SalomeApp_Application *  theApp) [inline]

Definition at line 235 of file PV_Events.h.

      TModuleEvent(theApp), myResult(0)   

Member Function Documentation

virtual void PARAVIS::TGetActiveServer::Execute ( ) [inline, virtual]

Definition at line 239 of file PV_Events.h.

      PVGUI_Module* aPVModule = getModule();
      if (aPVModule)
        myResult = aPVModule->getActiveServer();

Here is the call graph for this function:

Returns pointer on PARAVIS module instance.

Definition at line 75 of file PV_Events.h.

      PVGUI_Module* aPVModule = 0;
      CAM_Application::ModuleList aList = myApp->modules();
      foreach(CAM_Module* aModule, aList) {
        if (aModule->moduleName() == "ParaViS") {
          aPVModule = dynamic_cast<PVGUI_Module*>(aModule);
      return aPVModule;

Here is the caller graph for this function:

Member Data Documentation

SalomeApp_Application* PARAVIS::TModuleEvent::myApp [inherited]

Definition at line 70 of file PV_Events.h.

Definition at line 233 of file PV_Events.h.

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