Back to index

salome-paravis  6.5.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
PARAVIS::PARAVIS_Gen_i Class Reference

Implements PARAVIS_Gen interface. More...

#include <PARAVIS_Engine_i.hh>

Collaboration diagram for PARAVIS::PARAVIS_Gen_i:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PARAVIS_Gen_i (SALOME::Session_ptr session, CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName)
 Constructor.
virtual ~PARAVIS_Gen_i ()
virtual char * GetIOR ()
virtual void ImportFile (const char *theFileName)
virtual void ExecuteScript (const char *script)
virtual char * GetTrace ()
virtual void SaveTrace (const char *theFileName)
virtual SALOMEDS::TMPFile * Save (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
virtual SALOMEDS::TMPFile * SaveASCII (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
virtual bool Load (SALOMEDS::SComponent_ptr, const SALOMEDS::TMPFile &, const char *theURL, bool isMultiFile)
virtual bool LoadASCII (SALOMEDS::SComponent_ptr, const SALOMEDS::TMPFile &, const char *theURL, bool isMultiFile)
virtual void Close (SALOMEDS::SComponent_ptr IORSComponent)
virtual char * ComponentDataType ()
virtual char * IORToLocalPersistentID (SALOMEDS::SObject_ptr theSObject, const char *IORString, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
virtual char * LocalPersistentIDToIOR (SALOMEDS::SObject_ptr theSObject, const char *aLocalPersistentID, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
virtual bool CanPublishInStudy (CORBA::Object_ptr theIOR)
virtual SALOMEDS::SObject_ptr PublishInStudy (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject, CORBA::Object_ptr theObject, const char *theName) throw (SALOME::SALOME_Exception)
virtual CORBA::Boolean CanCopy (SALOMEDS::SObject_ptr theObject)
virtual SALOMEDS::TMPFile * CopyFrom (SALOMEDS::SObject_ptr theObject, CORBA::Long &theObjectID)
virtual CORBA::Boolean CanPaste (const char *theComponentName, CORBA::Long theObjectID)
virtual SALOMEDS::SObject_ptr PasteInto (const SALOMEDS::TMPFile &theStream, CORBA::Long theObjectID, SALOMEDS::SObject_ptr theObject)
virtual PARAVIS::string_arrayGetClassesList ()
virtual PARAVIS_Base_ptr CreateClass (const char *theClassName)
virtual void GetConnectionParameters (CORBA::Long &theId, CORBA::String_out theDHost, CORBA::Long &theDPort, CORBA::String_out theRHost, CORBA::Long &theRPort, CORBA::Long &theReversed)
virtual void ActivateModule ()
virtual void SetCurrentStudy (SALOMEDS::Study_ptr theStudy)
virtual SALOMEDS::Study_ptr GetCurrentStudy ()
 PARAVIS_Gen_i (CORBA::ORB_ptr theORB, PortableServer::POA_ptr thePOA, SALOME_NamingService *theNamingService, QMutex *theMutex)
 Constructor.
virtual ~PARAVIS_Gen_i ()
 Destructor.
virtual char * GetIOR ()
 Returns CORBA ID for the current instance.
virtual void ImportFile (const char *theFileName)
 Import file to PARAVIS module by its name.
virtual void ExecuteScript (const char *script)
 Execute a PARAVIS script on Session.
virtual char * GetTrace ()
 Returns Trace string. If Trace is not activated then empty string is returned.
virtual void SaveTrace (const char *theFileName)
 Save trace sting to a disk file.
virtual Engines::TMPFile * DumpPython (CORBA::Object_ptr theStudy, CORBA::Boolean theIsPublished, CORBA::Boolean theIsMultiFile, CORBA::Boolean &theIsValidScript)
 inherited methods from Engines::Component
virtual SALOMEDS::TMPFile * Save (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
 inherited methods from SALOMEDS::Driver
virtual SALOMEDS::TMPFile * SaveASCII (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile)
 inherited methods from SALOMEDS::Driver
virtual bool Load (SALOMEDS::SComponent_ptr, const SALOMEDS::TMPFile &, const char *theURL, bool isMultiFile)
 inherited methods from SALOMEDS::Driver
virtual bool LoadASCII (SALOMEDS::SComponent_ptr, const SALOMEDS::TMPFile &, const char *theURL, bool isMultiFile)
 inherited methods from SALOMEDS::Driver
virtual void Close (SALOMEDS::SComponent_ptr IORSComponent)
 inherited methods from SALOMEDS::Driver
virtual char * ComponentDataType ()
 inherited methods from SALOMEDS::Driver
virtual char * IORToLocalPersistentID (SALOMEDS::SObject_ptr theSObject, const char *IORString, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
 inherited methods from SALOMEDS::Driver
virtual char * LocalPersistentIDToIOR (SALOMEDS::SObject_ptr theSObject, const char *aLocalPersistentID, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII)
 inherited methods from SALOMEDS::Driver
virtual bool CanPublishInStudy (CORBA::Object_ptr theIOR)
 inherited methods from SALOMEDS::Driver. Alwais returns false for this module
virtual SALOMEDS::SObject_ptr PublishInStudy (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject, CORBA::Object_ptr theObject, const char *theName) throw (SALOME::SALOME_Exception)
 inherited methods from SALOMEDS::Driver. Does nothing
virtual CORBA::Boolean CanCopy (SALOMEDS::SObject_ptr theObject)
 inherited methods from SALOMEDS::Driver. Alwais returns false for this module
virtual SALOMEDS::TMPFile * CopyFrom (SALOMEDS::SObject_ptr theObject, CORBA::Long &theObjectID)
 inherited methods from SALOMEDS::Driver. Does nothing
virtual CORBA::Boolean CanPaste (const char *theComponentName, CORBA::Long theObjectID)
 inherited methods from SALOMEDS::Driver. Does nothing
virtual SALOMEDS::SObject_ptr PasteInto (const SALOMEDS::TMPFile &theStream, CORBA::Long theObjectID, SALOMEDS::SObject_ptr theObject)
 inherited methods from SALOMEDS::Driver. Does nothing
virtual PARAVIS::string_arrayGetClassesList ()
 Implementation of PARAVIS_Gen interface.
virtual PARAVIS_Base_ptr CreateClass (const char *theClassName)
 Implementation of PARAVIS_Gen interface.
virtual void GetConnectionParameters (CORBA::Long &theId, CORBA::String_out theDHost, CORBA::Long &theDPort, CORBA::String_out theRHost, CORBA::Long &theRPort, CORBA::Long &theReversed)
 Implementation of PARAVIS_Gen interface.
virtual void ActivateModule ()
 Implementation of PARAVIS_Gen interface.
virtual void SetCurrentStudy (SALOMEDS::Study_ptr theStudy)
virtual SALOMEDS::Study_ptr GetCurrentStudy ()

Static Public Member Functions

static CORBA::ORB_var GetORB ()
 Returns current ORB.
static PortableServer::POA_var GetPOA ()
 Returns current POA.
static PARAVIS_Gen_iGetParavisGenImpl ()
 Returns current implementation instance.

Private Member Functions

 PARAVIS_Gen_i ()
 Empty Constructor.
 PARAVIS_Gen_i (const PARAVIS::PARAVIS_Gen_i &)
 Copy Constructor.
 PARAVIS_Gen_i (const PARAVIS::PARAVIS_Gen_i &)
 Copy constructor.

Private Attributes

PARAVIS_Gen_var myParaVisGen
 Reference on corresponded interface in GUI thread.
std::string myIOR
SALOMEDS::Study_var myStudyDocument

Static Private Attributes

static CORBA::ORB_var myOrb
static PortableServer::POA_var myPoa
static PARAVIS_Gen_imyParavisGenImpl
static SALOME_LifeCycleCORBA * myEnginesLifeCycle
static SALOME_NamingService * myNamingService
static QMutex * myMutex
static SalomeApp_Application * mySalomeApp = 0

Detailed Description

Implements PARAVIS_Gen interface.

Ativates corresponded interface in GUI main thread and redirects all calls to that interface.

Definition at line 37 of file PARAVIS_Engine_i.hh.


Constructor & Destructor Documentation

Empty Constructor.

Copy Constructor.

PARAVIS::PARAVIS_Gen_i::PARAVIS_Gen_i ( SALOME::Session_ptr  session,
CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
PortableServer::ObjectId *  contId,
const char *  instanceName,
const char *  interfaceName 
)

Constructor.

Definition at line 75 of file PARAVIS_Engine_i.cc.

                                                          :
    Engines_Component_i(orb, poa, contId, instanceName, interfaceName)
  {
    _thisObj = this ;
    _id = _poa->activate_object(_thisObj);
#ifndef WIN32
    Engines::EngineComponent_var aComponent = session->GetComponent("libPARAVIS.so");
#else
    Engines::EngineComponent_var aComponent = session->GetComponent("PARAVIS.dll");
#endif
    if (CORBA::is_nil(aComponent)) {
      MESSAGE("Component PARAVIS is null");
      return;
    }
    myParaVisGen = PARAVIS::PARAVIS_Gen::_narrow(aComponent);
  } 

Definition at line 98 of file PARAVIS_Engine_i.cc.

  {
    if(MYDEBUG) MESSAGE("PARAVIS_Gen_i::~PARAVIS_Gen_i");
  }

Copy constructor.

PARAVIS::PARAVIS_Gen_i::PARAVIS_Gen_i ( CORBA::ORB_ptr  theORB,
PortableServer::POA_ptr  thePOA,
SALOME_NamingService *  theNamingService,
QMutex *  theMutex 
)

Constructor.

Definition at line 143 of file PARAVIS_Gen_i.cc.

                                                                                         :
    Engines_Component_i()
  {
    if(MYDEBUG) MESSAGE("PARAVIS_Gen_i::PARAVIS_Gen_i");
    if (mySalomeApp) return;

    myMutex = theMutex;
    myOrb = CORBA::ORB::_duplicate(theORB);
    myPoa = PortableServer::POA::_duplicate(thePOA);
    myParavisGenImpl = this;
    myNamingService = theNamingService;

    static SALOME_LifeCycleCORBA aEnginesLifeCycle(theNamingService);
    myEnginesLifeCycle = &aEnginesLifeCycle;

    CORBA::Object_var anObj = myNamingService->Resolve("/myStudyManager");
    if (!CORBA::is_nil(anObj)) {
      SALOMEDS::StudyManager_var aStudyManager = SALOMEDS::StudyManager::_narrow(anObj);
      SALOMEDS::ListOfOpenStudies_var aListOfOpenStudies = aStudyManager->GetOpenStudies();
      if(aListOfOpenStudies->length() > 0) {
        CORBA::String_var aStudyName = aListOfOpenStudies[0];
        myStudyDocument = aStudyManager->GetStudyByName(aStudyName);
        if (!myStudyDocument->_is_nil()) {
          mySalomeApp = ProcessEvent(new TGetGUIApplication(myStudyDocument->StudyId()));
          if(!myStudyDocument->GetProperties()->IsLocked())
            FindOrCreateParaVisComponent(myStudyDocument);
        }
      } else
        if(MYDEBUG) MESSAGE("PARAVIS_Gen_i::PARAVIS_Gen_i : there is no opened study in StudyManager !!!");
    } else
      if(MYDEBUG) MESSAGE("PARAVIS_Gen_i::PARAVIS_Gen_i : Can't find StudyManager !!!");

  }

Here is the call graph for this function:

Destructor.


Member Function Documentation

Definition at line 282 of file PARAVIS_Engine_i.cc.

  {
    myParaVisGen->ActivateModule();
  }
virtual void PARAVIS::PARAVIS_Gen_i::ActivateModule ( ) [virtual]

Implementation of PARAVIS_Gen interface.

CORBA::Boolean PARAVIS::PARAVIS_Gen_i::CanCopy ( SALOMEDS::SObject_ptr  theObject) [virtual]

Definition at line 233 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->CanCopy(theObject);
  }
virtual CORBA::Boolean PARAVIS::PARAVIS_Gen_i::CanCopy ( SALOMEDS::SObject_ptr  theObject) [virtual]

inherited methods from SALOMEDS::Driver. Alwais returns false for this module

CORBA::Boolean PARAVIS::PARAVIS_Gen_i::CanPaste ( const char *  theComponentName,
CORBA::Long  theObjectID 
) [virtual]

Definition at line 247 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->CanPaste(theComponentName, theObjectID);
  }
virtual CORBA::Boolean PARAVIS::PARAVIS_Gen_i::CanPaste ( const char *  theComponentName,
CORBA::Long  theObjectID 
) [virtual]

inherited methods from SALOMEDS::Driver. Does nothing

bool PARAVIS::PARAVIS_Gen_i::CanPublishInStudy ( CORBA::Object_ptr  theIOR) [virtual]

Definition at line 216 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->CanPublishInStudy(theIOR);
  }
virtual bool PARAVIS::PARAVIS_Gen_i::CanPublishInStudy ( CORBA::Object_ptr  theIOR) [virtual]

inherited methods from SALOMEDS::Driver. Alwais returns false for this module

void PARAVIS::PARAVIS_Gen_i::Close ( SALOMEDS::SComponent_ptr  IORSComponent) [virtual]

Definition at line 203 of file PARAVIS_Engine_i.cc.

  {
    myParaVisGen->Close(theComponent);
  }
virtual void PARAVIS::PARAVIS_Gen_i::Close ( SALOMEDS::SComponent_ptr  IORSComponent) [virtual]

inherited methods from SALOMEDS::Driver

Definition at line 210 of file PARAVIS_Engine_i.cc.

  {
    return CORBA::string_dup("PARAVIS");
  }
virtual char* PARAVIS::PARAVIS_Gen_i::ComponentDataType ( ) [virtual]

inherited methods from SALOMEDS::Driver

SALOMEDS::TMPFile * PARAVIS::PARAVIS_Gen_i::CopyFrom ( SALOMEDS::SObject_ptr  theObject,
CORBA::Long &  theObjectID 
) [virtual]

Definition at line 240 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->CopyFrom(theObject, theObjectID);
  }
virtual SALOMEDS::TMPFile* PARAVIS::PARAVIS_Gen_i::CopyFrom ( SALOMEDS::SObject_ptr  theObject,
CORBA::Long &  theObjectID 
) [virtual]

inherited methods from SALOMEDS::Driver. Does nothing

PARAVIS_Base_ptr PARAVIS::PARAVIS_Gen_i::CreateClass ( const char *  theClassName) [virtual]

Definition at line 267 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->CreateClass(theClassName);
  }
virtual PARAVIS_Base_ptr PARAVIS::PARAVIS_Gen_i::CreateClass ( const char *  theClassName) [virtual]

Implementation of PARAVIS_Gen interface.

Engines::TMPFile * PARAVIS::PARAVIS_Gen_i::DumpPython ( CORBA::Object_ptr  theStudy,
CORBA::Boolean  theIsPublished,
CORBA::Boolean  theIsMultiFile,
CORBA::Boolean &  theIsValidScript 
) [virtual]

inherited methods from Engines::Component

Definition at line 640 of file PARAVIS_Gen_i.cc.

  {
    theIsValidScript = true;
    std::string aResult;
    if ( theIsMultiFile )
      aResult += "\ndef RebuildData(theStudy):\n";
    aResult += tabify(ProcessEvent(new TGetTrace(mySalomeApp)), theIsMultiFile );
    if ( theIsMultiFile )
      aResult += "\n\tpass\n";
    CORBA::ULong aSize = aResult.size() + 1;
    char* aBuffer = new char[aSize];
    memset(aBuffer, 0, aSize);
    strcpy(aBuffer, &aResult[0]);
    Engines::TMPFile_var aDump = new Engines::TMPFile(aSize,aSize,(CORBA::Octet*)aBuffer,1);
    return aDump._retn();
  }

Here is the call graph for this function:

void PARAVIS::PARAVIS_Gen_i::ExecuteScript ( const char *  script) [virtual]

Definition at line 173 of file PARAVIS_Engine_i.cc.

  {
    if (CORBA::is_nil(myParaVisGen)) {
      MESSAGE("PARAVIS_Gen_i is null");
      return;
    }
    myParaVisGen->ExecuteScript(script);
  }
virtual void PARAVIS::PARAVIS_Gen_i::ExecuteScript ( const char *  script) [virtual]

Execute a PARAVIS script on Session.

Definition at line 261 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->GetClassesList();
  }

Implementation of PARAVIS_Gen interface.

void PARAVIS::PARAVIS_Gen_i::GetConnectionParameters ( CORBA::Long &  theId,
CORBA::String_out  theDHost,
CORBA::Long &  theDPort,
CORBA::String_out  theRHost,
CORBA::Long &  theRPort,
CORBA::Long &  theReversed 
) [virtual]

Definition at line 273 of file PARAVIS_Engine_i.cc.

  {
    myParaVisGen->GetConnectionParameters(theId, theDHost, theDPort, theRHost, theRPort, theReversed);
  }
virtual void PARAVIS::PARAVIS_Gen_i::GetConnectionParameters ( CORBA::Long &  theId,
CORBA::String_out  theDHost,
CORBA::Long &  theDPort,
CORBA::String_out  theRHost,
CORBA::Long &  theRPort,
CORBA::Long &  theReversed 
) [virtual]

Implementation of PARAVIS_Gen interface.

SALOMEDS::Study_ptr PARAVIS::PARAVIS_Gen_i::GetCurrentStudy ( ) [virtual]

Definition at line 294 of file PARAVIS_Engine_i.cc.

                                                  {
    return myParaVisGen->GetCurrentStudy();
  }
virtual SALOMEDS::Study_ptr PARAVIS::PARAVIS_Gen_i::GetCurrentStudy ( ) [virtual]
char * PARAVIS::PARAVIS_Gen_i::GetIOR ( ) [virtual]

Definition at line 105 of file PARAVIS_Engine_i.cc.

                             {
    return myParaVisGen->GetIOR();
  }

Here is the caller graph for this function:

virtual char* PARAVIS::PARAVIS_Gen_i::GetIOR ( ) [virtual]

Returns CORBA ID for the current instance.

static CORBA::ORB_var PARAVIS::PARAVIS_Gen_i::GetORB ( ) [inline, static]

Returns current ORB.

Definition at line 203 of file PARAVIS_Gen_i.hh.

{ return myOrb;}

Here is the caller graph for this function:

Returns current implementation instance.

Definition at line 209 of file PARAVIS_Gen_i.hh.

{ return myParavisGenImpl;}

Here is the caller graph for this function:

static PortableServer::POA_var PARAVIS::PARAVIS_Gen_i::GetPOA ( ) [inline, static]

Returns current POA.

Definition at line 206 of file PARAVIS_Gen_i.hh.

{ return myPoa;}

Here is the caller graph for this function:

char * PARAVIS::PARAVIS_Gen_i::GetTrace ( ) [virtual]

Definition at line 183 of file PARAVIS_Engine_i.cc.

  {
    if (CORBA::is_nil(myParaVisGen)) {
      MESSAGE("PARAVIS_Gen_i is null");
      return CORBA::string_dup("");
    }
    return CORBA::string_dup(myParaVisGen->GetTrace());
  }
virtual char* PARAVIS::PARAVIS_Gen_i::GetTrace ( ) [virtual]

Returns Trace string. If Trace is not activated then empty string is returned.

void PARAVIS::PARAVIS_Gen_i::ImportFile ( const char *  theFileName) [virtual]

Definition at line 164 of file PARAVIS_Engine_i.cc.

  {
    if (CORBA::is_nil(myParaVisGen)) {
      MESSAGE("PARAVIS_Gen_i is null");
      return;
    }
    myParaVisGen->ImportFile(theFileName);
  }
virtual void PARAVIS::PARAVIS_Gen_i::ImportFile ( const char *  theFileName) [virtual]

Import file to PARAVIS module by its name.

char * PARAVIS::PARAVIS_Gen_i::IORToLocalPersistentID ( SALOMEDS::SObject_ptr  theSObject,
const char *  IORString,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII 
) [virtual]

Definition at line 155 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->IORToLocalPersistentID(theSObject, IORString, isMultiFile, isASCII);
  }
virtual char* PARAVIS::PARAVIS_Gen_i::IORToLocalPersistentID ( SALOMEDS::SObject_ptr  theSObject,
const char *  IORString,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII 
) [virtual]

inherited methods from SALOMEDS::Driver

bool PARAVIS::PARAVIS_Gen_i::Load ( SALOMEDS::SComponent_ptr  theComponent,
const SALOMEDS::TMPFile &  theStream,
const char *  theURL,
bool  isMultiFile 
) [virtual]

Definition at line 110 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->Load(theComponent,theStream,theURL,isMultiFile);
  }

Here is the caller graph for this function:

virtual bool PARAVIS::PARAVIS_Gen_i::Load ( SALOMEDS::SComponent_ptr  ,
const SALOMEDS::TMPFile &  ,
const char *  theURL,
bool  isMultiFile 
) [virtual]

inherited methods from SALOMEDS::Driver

bool PARAVIS::PARAVIS_Gen_i::LoadASCII ( SALOMEDS::SComponent_ptr  theComponent,
const SALOMEDS::TMPFile &  theStream,
const char *  theURL,
bool  isMultiFile 
) [virtual]

Definition at line 119 of file PARAVIS_Engine_i.cc.

  {
    return Load(theComponent, theStream, theURL, isMultiFile);
  }

Here is the call graph for this function:

virtual bool PARAVIS::PARAVIS_Gen_i::LoadASCII ( SALOMEDS::SComponent_ptr  ,
const SALOMEDS::TMPFile &  ,
const char *  theURL,
bool  isMultiFile 
) [virtual]

inherited methods from SALOMEDS::Driver

char * PARAVIS::PARAVIS_Gen_i::LocalPersistentIDToIOR ( SALOMEDS::SObject_ptr  theSObject,
const char *  aLocalPersistentID,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII 
) [virtual]

Definition at line 129 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->LocalPersistentIDToIOR(theSObject, aLocalPersistentID, isMultiFile, isASCII);
  }
virtual char* PARAVIS::PARAVIS_Gen_i::LocalPersistentIDToIOR ( SALOMEDS::SObject_ptr  theSObject,
const char *  aLocalPersistentID,
CORBA::Boolean  isMultiFile,
CORBA::Boolean  isASCII 
) [virtual]

inherited methods from SALOMEDS::Driver

SALOMEDS::SObject_ptr PARAVIS::PARAVIS_Gen_i::PasteInto ( const SALOMEDS::TMPFile &  theStream,
CORBA::Long  theObjectID,
SALOMEDS::SObject_ptr  theObject 
) [virtual]

Definition at line 253 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->PasteInto(theStream,theObjectID,theObject);
  }
virtual SALOMEDS::SObject_ptr PARAVIS::PARAVIS_Gen_i::PasteInto ( const SALOMEDS::TMPFile &  theStream,
CORBA::Long  theObjectID,
SALOMEDS::SObject_ptr  theObject 
) [virtual]

inherited methods from SALOMEDS::Driver. Does nothing

SALOMEDS::SObject_ptr PARAVIS::PARAVIS_Gen_i::PublishInStudy ( SALOMEDS::Study_ptr  theStudy,
SALOMEDS::SObject_ptr  theSObject,
CORBA::Object_ptr  theObject,
const char *  theName 
) throw (SALOME::SALOME_Exception) [virtual]

Definition at line 223 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->PublishInStudy(theStudy, theSObject, theObject, theName);
  }
virtual SALOMEDS::SObject_ptr PARAVIS::PARAVIS_Gen_i::PublishInStudy ( SALOMEDS::Study_ptr  theStudy,
SALOMEDS::SObject_ptr  theSObject,
CORBA::Object_ptr  theObject,
const char *  theName 
) throw (SALOME::SALOME_Exception) [virtual]

inherited methods from SALOMEDS::Driver. Does nothing

SALOMEDS::TMPFile * PARAVIS::PARAVIS_Gen_i::Save ( SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile 
) [virtual]

Definition at line 138 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->Save(theComponent,theURL,isMultiFile);
  }
virtual SALOMEDS::TMPFile* PARAVIS::PARAVIS_Gen_i::Save ( SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile 
) [virtual]

inherited methods from SALOMEDS::Driver

SALOMEDS::TMPFile * PARAVIS::PARAVIS_Gen_i::SaveASCII ( SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile 
) [virtual]

Definition at line 146 of file PARAVIS_Engine_i.cc.

  {
    return myParaVisGen->Save(theComponent,theURL,isMultiFile);
  }
virtual SALOMEDS::TMPFile* PARAVIS::PARAVIS_Gen_i::SaveASCII ( SALOMEDS::SComponent_ptr  theComponent,
const char *  theURL,
bool  isMultiFile 
) [virtual]

inherited methods from SALOMEDS::Driver

void PARAVIS::PARAVIS_Gen_i::SaveTrace ( const char *  theFileName) [virtual]

Definition at line 193 of file PARAVIS_Engine_i.cc.

  {
    if (CORBA::is_nil(myParaVisGen)) {
      MESSAGE("PARAVIS_Gen_i is null");
      return ;
    }
    myParaVisGen->SaveTrace(theFileName);
  }
virtual void PARAVIS::PARAVIS_Gen_i::SaveTrace ( const char *  theFileName) [virtual]

Save trace sting to a disk file.

void PARAVIS::PARAVIS_Gen_i::SetCurrentStudy ( SALOMEDS::Study_ptr  theStudy) [virtual]

Definition at line 288 of file PARAVIS_Engine_i.cc.

                                                               {
    myParaVisGen->SetCurrentStudy(theStudy);
  }
virtual void PARAVIS::PARAVIS_Gen_i::SetCurrentStudy ( SALOMEDS::Study_ptr  theStudy) [virtual]

Member Data Documentation

SALOME_LifeCycleCORBA * PARAVIS::PARAVIS_Gen_i::myEnginesLifeCycle [static, private]

Definition at line 215 of file PARAVIS_Gen_i.hh.

std::string PARAVIS::PARAVIS_Gen_i::myIOR [private]

Definition at line 219 of file PARAVIS_Gen_i.hh.

QMutex * PARAVIS::PARAVIS_Gen_i::myMutex [static, private]

Definition at line 217 of file PARAVIS_Gen_i.hh.

SALOME_NamingService * PARAVIS::PARAVIS_Gen_i::myNamingService [static, private]

Definition at line 216 of file PARAVIS_Gen_i.hh.

CORBA::ORB_var PARAVIS::PARAVIS_Gen_i::myOrb [static, private]

Definition at line 212 of file PARAVIS_Gen_i.hh.

PARAVIS_Gen_var PARAVIS::PARAVIS_Gen_i::myParaVisGen [private]

Reference on corresponded interface in GUI thread.

Definition at line 41 of file PARAVIS_Engine_i.hh.

Definition at line 214 of file PARAVIS_Gen_i.hh.

PortableServer::POA_var PARAVIS::PARAVIS_Gen_i::myPoa [static, private]

Definition at line 213 of file PARAVIS_Gen_i.hh.

SalomeApp_Application * PARAVIS::PARAVIS_Gen_i::mySalomeApp = 0 [static, private]

Definition at line 221 of file PARAVIS_Gen_i.hh.

SALOMEDS::Study_var PARAVIS::PARAVIS_Gen_i::myStudyDocument [private]

Definition at line 220 of file PARAVIS_Gen_i.hh.


The documentation for this class was generated from the following files: