Back to index

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

Event to execute a script to PARAVIS. More...

#include <PV_Events.h>

Inheritance diagram for PARAVIS::TExecuteScript:
Inheritance graph
Collaboration diagram for PARAVIS::TExecuteScript:
Collaboration graph

List of all members.

Public Member Functions

 TExecuteScript (SalomeApp_Application *theApp, const char *theFileName)
virtual void Execute ()
PVGUI_ModulegetModule ()
 Returns pointer on PARAVIS module instance.

Public Attributes

const char * myName
SalomeApp_Application * myApp

Detailed Description

Event to execute a script to PARAVIS.

Definition at line 176 of file PV_Events.h.

Constructor & Destructor Documentation

PARAVIS::TExecuteScript::TExecuteScript ( SalomeApp_Application *  theApp,
const char *  theFileName 
) [inline]

Definition at line 178 of file PV_Events.h.

Member Function Documentation

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

Definition at line 182 of file PV_Events.h.

      PVGUI_Module* aPVModule = getModule();
      if (aPVModule)

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.

const char* PARAVIS::TParavisFileEvent::myName [inherited]

Definition at line 131 of file PV_Events.h.

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