//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-
// File : SalomeApp_Engine.idl
// Author : Alexander SLADKOV
-//
+
#ifndef __SalomeApp_Engine__
#define __SalomeApp_Engine__
* SalomeApp::Engine: special CORBA pseudo-engine for persistance needs of components
* with no CORBA-based Engine.
*/
- interface Engine : Engines::Component,
+ interface Engine : Engines::EngineComponent,
SALOMEDS::Driver
{
};
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-
// File : SALOME_PYQT_Module.cxx
// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
-//
+
#include <PyInterp_Dispatcher.h>
#include "SALOME_PYQT_Module.h"
/*!
* Get module engine, returns nil var if engine is not found in LifeCycleCORBA
*/
-Engines::Component_var SALOME_PYQT_Module::getEngine() const
+Engines::EngineComponent_var SALOME_PYQT_Module::getEngine() const
{
- Engines::Component_var comp;
+ Engines::EngineComponent_var comp;
// temporary solution
try {
comp = getApp()->lcc()->FindOrLoad_Component( "FactoryServerPy", name().toLatin1() );
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-
// File : SALOME_PYQT_Module.h
// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
-//
+
#ifndef SALOME_PYQT_MODULE_H
#define SALOME_PYQT_MODULE_H
/* create data model */
virtual CAM_DataModel* createDataModel();
- Engines::Component_var getEngine() const;
+ Engines::EngineComponent_var getEngine() const;
private:
void getEngineIOR();
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-
// File : SalomeApp_DataObject.cxx
// Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
-//
+
#include "SalomeApp_DataObject.h"
#include "SalomeApp_Study.h"
#include "SalomeApp_Application.h"
// with any container name, on every machine available
Engines::MachineParameters params;
app->lcc()->preSet(params); // --- any container name, anywhere
- Engines::Component_var aComponent =
+ Engines::EngineComponent_var aComponent =
app->lcc()->FindComponent(params, componentDataType().toLatin1().constData() );
if ( !CORBA::is_nil(aComponent) && aComponent->hasObjectInfo() ) {
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-
// SALOME Session : implementation of Session.idl
// File : SALOME_Session_i.cxx
// Author : Paul RASCLE, EDF
// Module : SALOME
-// $Header$
-//
+
#include "utilities.h"
#include "Session_Session_i.hxx"
/*!
returns Visu component
*/
-Engines::Component_ptr SALOME_Session_i::GetComponent(const char* theLibraryName)
+Engines::EngineComponent_ptr SALOME_Session_i::GetComponent(const char* theLibraryName)
{
- typedef Engines::Component_ptr TGetImpl(CORBA::ORB_ptr,
- PortableServer::POA_ptr,
- SALOME_NamingService*,QMutex*);
+ typedef Engines::EngineComponent_ptr TGetImpl(CORBA::ORB_ptr,
+ PortableServer::POA_ptr,
+ SALOME_NamingService*,QMutex*);
OSD_SharedLibrary aSharedLibrary(const_cast<char*>(theLibraryName));
if(aSharedLibrary.DlOpen(OSD_RTLD_LAZY))
if(OSD_Function anOSDFun = aSharedLibrary.DlSymb("GetImpl"))
return ((TGetImpl (*)) anOSDFun)(_orb,_poa,_NS,_GUIMutex);
- return Engines::Component::_nil();
+ return Engines::EngineComponent::_nil();
}
/*!
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-
// SALOME Session : implementation of Session.idl
// File : Session_Session_i.hxx
// Author : Paul RASCLE, EDF
// Module : SALOME
-// $Header$
-//
+
#ifndef _SESSION_SESSION_I_HXX_
#define _SESSION_SESSION_I_HXX_
void GetInterface();
//! Return VISU component
- Engines::Component_ptr GetComponent(const char* theLibraryName);
+ Engines::EngineComponent_ptr GetComponent(const char* theLibraryName);
//! Stop the Session (must be idle): kill servant & server
void StopSession();
};
#endif
-