Back to index

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

Returns trace string collected in PARAVIS module in current session. More...

#include <PV_Events.h>

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

List of all members.

Public Types

typedef std::string TResult

Public Member Functions

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

Public Attributes

TResult myResult
SalomeApp_Application * myApp

Detailed Description

Returns trace string collected in PARAVIS module in current session.

Definition at line 108 of file PV_Events.h.


Member Typedef Documentation

typedef std::string PARAVIS::TGetTrace::TResult

Definition at line 110 of file PV_Events.h.


Constructor & Destructor Documentation

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

Definition at line 112 of file PV_Events.h.

                                             :
      TModuleEvent(theApp)
    {
      myResult = "";
    }

Member Function Documentation

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

Definition at line 118 of file PV_Events.h.

    {
      PVGUI_Module* aPVModule = getModule();
      if (aPVModule)
        myResult = qPrintable(aPVModule->getTraceString());
    }

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.

Definition at line 111 of file PV_Events.h.


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