Back to index

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

Event to save trace string inte disk file. More...

#include <PV_Events.h>

Inheritance diagram for PARAVIS::TSaveTrace:
Inheritance graph
[legend]
Collaboration diagram for PARAVIS::TSaveTrace:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TSaveTrace (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 save trace string inte disk file.

Definition at line 141 of file PV_Events.h.


Constructor & Destructor Documentation

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

Definition at line 143 of file PV_Events.h.


Member Function Documentation

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

Definition at line 147 of file PV_Events.h.

    {
      PVGUI_Module* aPVModule = getModule();
      if (aPVModule)
        aPVModule->saveTrace(myName);
    }

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);
          break;
        }
      }
      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: